Changeset 7240


Ignore:
Timestamp:
09/18/12 17:54:07 (8 years ago)
Author:
gustavo
Message:

Ticket #3108 - Corrigir chamada PHP na melhoria de seleção de mensagens

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r7235 r7240  
    244244                var spam_span  = document.getElementById(mount_url_folder(["lINBOX",special_folders["Spam"]]) + 'tree_folders'); 
    245245                //local folders 
    246                 var sent_local_conf = this.preferences.save_in_folder.replace(mount_url_folder(["INBOX",""]),"local_"); 
    247                 var sent_local_conf_span=document.getElementById('l'+sent_local_conf+'tree_folders'); 
     246                /*var sent_local_conf = this.preferences.save_in_folder.replace(mount_url_folder(["INBOX",""]),"local_"); 
     247                var sent_local_conf_span=document.getElementById('l'+sent_local_conf+'tree_folders');*/ 
    248248                var trash_local_span=document.getElementById('llocal_'+special_folders['Trash']+'tree_folders'); 
    249249                var draft_local_span=document.getElementById('llocal_'+special_folders['Drafts']+'tree_folders'); 
     
    266266                //Local folders 
    267267 
    268                 if (sent_local_conf_span) 
    269                         sent_local_conf_span.style.backgroundImage="url(../phpgwapi/templates/"+template+"/images/foldertree_sent.png)"; 
     268                /*if (sent_local_conf_span) 
     269                        sent_local_conf_span.style.backgroundImage="url(../phpgwapi/templates/"+template+"/images/foldertree_sent.png)";*/ 
    270270                if (trash_local_span) 
    271271                        trash_local_span.style.backgroundImage="url(../phpgwapi/templates/"+template+"/images/foldertree_trash.png)"; 
     
    11931193        }else{ 
    11941194                allMsgsSelected = false; 
     1195                var checkbox = $("#content_id_0").find("input:checkbox");  
     1196        $.each(checkbox, function(i, v){  
     1197            $(v).removeAttr("checked");  
     1198            $(v).parents("tr:first").removeClass("selected_msg selected_shortcut_msg");  
     1199        });  
    11951200                for(var obj in selectedPagingMsgs){ 
    1196             $("#content_id_0").find('input[type="checkbox"]').removeAttr("checked"); 
    11971201                        selectedPagingMsgs[obj] = false; 
    1198                         $('#check_box_message_'+obj).parent().parent().removeClass('selected_msg selected_shortcut_msg');                
    11991202                } 
    12001203                div.hide(); 
Note: See TracChangeset for help on using the changeset viewer.