Changeset 5440 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 01/27/12 15:59:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r5428 r5440 3051 3051 write_msg(get_lang('ERROR emptying your Trash folder.')); 3052 3052 } 3053 var realyEmptyTrash=confirm(get_lang('Do you really want to empty your trash folder?')); 3054 if (realyEmptyTrash) 3055 cExecute ("$this.imap_functions.empty_folder&clean_folder="+"imapDefaultTrashFolder", handler_empty_trash); 3053 3054 var _div = document.createElement("div"); 3055 _div.innerHTML = '<p style="margin:10px 5px 5px 5px;">' + 3056 '<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>'+ 3057 get_lang('Do you really want to empty your trash folder?') + 3058 '</p>'; 3059 $(_div).dialog( 3060 { 3061 resizable: false, 3062 title: get_lang('Empty Trash'), 3063 position: 'center', 3064 width: 350, 3065 height:140, 3066 modal: true, 3067 buttons: { 3068 "Ok": function() { 3069 cExecute ("$this.imap_functions.empty_folder&clean_folder="+"imapDefaultTrashFolder", handler_empty_trash); 3070 $( this ).dialog( "close" ); 3071 }, 3072 "Cancelar": function() { 3073 $( this ).dialog( "close" ); 3074 } 3075 } 3076 }); 3077 3078 $(_div).dialog('open'); 3079 3056 3080 } 3057 3081
Note: See TracChangeset
for help on using the changeset viewer.