Changeset 8119 for trunk/expressoMail1_2/js/draw_api.js
- Timestamp:
- 04/26/13 09:11:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r8112 r8119 5844 5844 } 5845 5845 5846 function verifyContext(type) { 5847 if(type == "unarchive"){ 5848 expresso_mail_archive.unarchieve($(".menu-sel").attr("role"), null, null); 5849 } else { 5850 archive_msgs($(".menu-sel").attr("role"),null,null) 5851 } 5852 } 5853 5846 5854 function draw_footer_box(num_msgs){ 5847 5855 folder = get_current_folder(); … … 5869 5877 ((expresso_offline)?" ":'<span class="message_options_import"><span ' + change_font_color + ' title="'+get_lang("Import")+'" class="message_options" onclick="import_window()">'+get_lang("Import")+'</span></span>'); 5870 5878 5879 5871 5880 //Link arquivar e desarquivar com ação 5872 5881 //MAILARCHIVER 5873 5882 if(preferences.use_local_messages==1){ 5874 5883 if(expresso_mail_archive.enabled){ 5884 console.log(2); 5875 5885 if(proxy_mensagens.is_local_folder(current_folder))//Unarchive link 5876 span_options.innerHTML += ' <span title="'+get_lang("Unarchive")+'" class="message_options" onclick=" expresso_mail_archive.unarchieve(\''+folder+'\', null, null);">'+get_lang("Unarchive")+'</span>';5886 span_options.innerHTML += ' <span title="'+get_lang("Unarchive")+'" class="message_options" onclick="verifyContext(\'unarchive\')">'+get_lang("Unarchive")+'</span>'; 5877 5887 else//Archive link 5878 span_options.innerHTML += ' <span title="'+get_lang("Archive")+'" class="message_options" onclick=" archive_msgs(\''+folder+'\',null,null)">'+get_lang("Archive")+'</span>';5888 span_options.innerHTML += ' <span title="'+get_lang("Archive")+'" class="message_options" onclick="verifyContext(\'archive\')">'+get_lang("Archive")+'</span>'; 5879 5889 } 5880 5890 }
Note: See TracChangeset
for help on using the changeset viewer.