Changeset 1518 for trunk/expressoMail1_2/js/common_functions.js
- Timestamp:
- 10/20/09 15:24:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/common_functions.js
r1503 r1518 73 73 74 74 function unloadMess(){ 75 var mess = get_lang("Your message has not been sent and will be discarted."); 76 for(var i = 0; i < BordersArray.length;i++) { 77 var body = Element('body_'+BordersArray[i].sequence); 78 if (body && body.contentWindow && body.contentWindow.document.designMode.toLowerCase() == 'on') { 79 return mess; 75 if (expresso_mail_sync.folders.length != 0) { 76 var mess = get_lang("You're about archiving your e-mails from server. Do you really want to stop this action?"); 77 return mess; 78 } 79 else { 80 var mess = get_lang("Your message has not been sent and will be discarted."); 81 for (var i = 0; i < BordersArray.length; i++) { 82 var body = Element('body_' + BordersArray[i].sequence); 83 if (body && body.contentWindow && body.contentWindow.document.designMode.toLowerCase() == 'on') { 84 return mess; 85 } 80 86 } 81 87 }
Note: See TracChangeset
for help on using the changeset viewer.