Changeset 6874


Ignore:
Timestamp:
07/25/12 14:56:52 (8 years ago)
Author:
angelo
Message:

Ticket #2954 - Selecionar todas as mensagens de uma pasta independente de paginacao

Location:
sandbox/2.4.2-expresso2/expressoMail1_2/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso2/expressoMail1_2/js/common_functions.js

    r6872 r6874  
    11201120        var main_list = main.childNodes; 
    11211121        var len_main_list = main_list.length; 
    1122         var folder = $('#content_folders ul.filetree').find('.selected').attr('title'); 
     1122        var folder = $('#content_folders .folder.selected').attr('title'); 
     1123        folder = folder ? folder : get_lang('INBOX'); 
    11231124        folder = folder.length > 70 ? '"'+folder.substr(0,70) + "..." +'"': '"'+folder+'"' ; 
    11241125        var filterFlag = search_box_type != "ALL" ? '"'+get_lang(search_box_type) + "s" +'"': ""; 
  • sandbox/2.4.2-expresso2/expressoMail1_2/js/draw_api.js

    r6872 r6874  
    10841084/*Atualiza o array de mensagens selecionadas*/ 
    10851085function updateSelectedMsgs(selected,msg_number){        
    1086         var folder = $('#content_folders ul.filetree').find('.selected').attr('title'); 
     1086        var folder = $('#content_folders .folder.selected').attr('title'); 
     1087        folder = folder ? folder : get_lang('INBOX'); 
    10871088        folder = folder.length > 70 ? '"'+folder.substr(0,70) + "..." +'"': '"'+folder+'"' ; 
    10881089        var div = $('.select-all-messages'); 
     
    11611162/*Seleciona ou desseleciona todas as mensagens da pasta*/ 
    11621163function selectAllFolderMsgs(select){ 
    1163         var folder = $('#content_folders ul.filetree').find('.selected').attr('title'); 
     1164        var folder = $('#content_folders .folder.selected').attr('title'); 
     1165        folder = folder ? folder : get_lang('INBOX'); 
    11641166        folder = folder.length > 70 ? '"'+folder.substr(0,70) + "..." +'"': '"'+folder+'"' ; 
    11651167        var filterFlag = search_box_type != "ALL" ? get_lang(search_box_type) + "s": ""; 
Note: See TracChangeset for help on using the changeset viewer.