Changeset 6939


Ignore:
Timestamp:
08/03/12 17:32:46 (10 years ago)
Author:
angelo
Message:

Ticket #2993 - Contagem de mensagens listadas nas abas esta inconsistente

File:
1 edited

Legend:

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

    r6930 r6939  
    533533                        draw_paging(data.num_msgs); 
    534534                        Element("tot_m").innerHTML = data.num_msgs; 
    535                         $("#new_m").html(($(".selected").find(".folder_unseen").html() != "0" && $(".selected").find(".folder_unseen").html() != null)? $(".selected").find(".folder_unseen").html() : "0").css("color", "red"); 
     535                        $('#new_m').html(data.tot_unseen > 0 ? data.tot_unseen : "0").css("color","red"); 
     536                        //$("#new_m").html(($(".selected").find(".folder_unseen").html() != "0" && $(".selected").find(".folder_unseen").html() != null)? $(".selected").find(".folder_unseen").html() : "0").css("color", "red"); 
    536537                        //update_menu(); 
    537538                        $(".folders-loading").removeClass("folders-loading"); 
Note: See TracChangeset for help on using the changeset viewer.