Changeset 7426
- Timestamp:
- 10/16/12 15:51:31 (12 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/doiMenuData.js
r7414 r7426 112 112 113 113 var labelItems = getLabels(); 114 114 115 $.contextMenu({ 115 116 selector: ".table_box tbody tr", 116 117 build: function($trigger, e) { 117 118 if(typeof (currentTab) == "string" && currentTab.indexOf("local") != -1){ 119 alert("Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 120 return true; 121 } 118 122 var itensNotLocal = { 119 123 "label": { "name": get_lang("Labels"), "items": labelItems}, -
trunk/expressoMail1_2/js/local_messages.js
r7414 r7426 1654 1654 //para que elas sejam inseridas no imap pela função imap_functions.unarchive_mail. 1655 1655 local_messages.prototype.unarchive_msgs = function (folder,new_folder,msgs_number){ 1656 1656 if(typeof (currentTab) == "string" && currentTab.indexOf("local") != -1){ 1657 alert("ImpossÃvel manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 1658 return true; 1659 } 1657 1660 this.init_local_messages(); 1658 1661 -
trunk/expressoMail1_2/js/mail_sync.js
r6930 r7426 113 113 114 114 mail_sync.prototype.archive_msgs = function(folder,folder_dest,ids) { 115 115 116 //this.main_title = document.getElementById('main_title').innerHTML; 116 117 var temp = new Array(); -
trunk/expressoMail1_2/js/main.js
r7420 r7426 1656 1656 1657 1657 function archive_msgs(folder,folder_dest,id_msgs) { 1658 1659 if(typeof (currentTab) == "string" && currentTab.indexOf("local") != -1){ 1660 alert("Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 1661 return true; 1662 } 1658 1663 write_msg(get_lang('Starting to archive messages')); 1659 1664 … … 3658 3663 3659 3664 function print_all(){ 3665 if(typeof (currentTab) == "string" && currentTab.indexOf("local") != -1){ 3666 alert("Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 3667 return true; 3668 } 3660 3669 if (openTab.type[currentTab] == 2) 3661 3670 return print_msg(current_folder,currentTab.substr(0,currentTab.indexOf("_r")),currentTab); … … 4195 4204 function import_window() 4196 4205 { 4206 if(currentTab.indexOf("local") != -1){ 4207 alert("Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 4208 return true; 4209 } 4197 4210 var folder = {}; 4198 4211 var importEmails = $("#importEmails"); -
trunk/expressoMail1_2/js/messages_controller.js
r7414 r7426 736 736 737 737 messages_proxy.prototype.export_all_messages = function(folder){ 738 if(typeof (currentTab) == "string" && currentTab.indexOf("local") != -1){ 739 alert("Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 740 return true; 741 } 738 742 if (!folder) { 739 743 folder = get_current_folder(); -
trunk/expressoMail1_2/js/wfolders.js
r7414 r7426 134 134 cWFolders.prototype.makeWindow = function(border_id, type) 135 135 { 136 if(typeof (currentTab) == "string" && currentTab.indexOf("local") != -1){ 137 alert("Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais."); 138 return true; 139 } 136 140 this.load( border_id, type, false); 137 141 }
Note: See TracChangeset
for help on using the changeset viewer.