Changeset 7749 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 01/15/13 10:32:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r7745 r7749 447 447 } 448 448 }; 449 if (confirm(get_lang("delete all attachments confirmation"))) 450 cExecute ("$this.imap_functions.remove_attachments&folder=" 451 +folder+"&msg_num="+msg_num, call_back); 449 450 $.Zebra_Dialog(get_lang("delete all attachments confirmation"), { 451 'type': 'question', 452 'buttons': [get_lang("Yes"), get_lang("No")], 453 'overlay_opacity' : 0.5, 454 'width' : 500, 455 'custom_class': 'custom-zebra-filter', 456 'onClose': function(caption) { 457 if(caption == get_lang("Yes")) 458 cExecute ("$this.imap_functions.remove_attachments&folder="+folder+"&msg_num="+msg_num, call_back); 459 } 460 }); 452 461 } 453 462 function watch_changes_in_msg(border_id) … … 5312 5321 else 5313 5322 { 5314 if(confirm(get_lang("Do you confirm this import to your Calendar?"))){ 5315 cExecute( import_url + "&from_ajax=true", handler_import_calendar); 5316 } 5323 $.Zebra_Dialog(get_lang("Do you confirm this import to your Calendar?"), { 5324 'type': 'question', 5325 'buttons': [get_lang("Yes"), get_lang("No")], 5326 'overlay_opacity' : 0.5, 5327 'custom_class': 'custom-zebra-filter', 5328 'onClose': function(caption) { 5329 if(caption == get_lang("Yes")) 5330 cExecute( import_url + "&from_ajax=true", handler_import_calendar); 5331 } 5332 }); 5317 5333 } 5318 5334 }
Note: See TracChangeset
for help on using the changeset viewer.