Changeset 6942 for branches


Ignore:
Timestamp:
08/03/12 17:41:15 (7 years ago)
Author:
eduardow
Message:

Ticket #2993 - Contagem de mensagens listada nas abas está inconsistente.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/js/draw_api.js

    r6941 r6942  
    526526                        draw_paging(data.num_msgs); 
    527527                        Element("tot_m").innerHTML = data.num_msgs; 
    528                         $("#new_m").html(($(".selected").find(".folder_unseen").html() != "0" && $(".selected").find(".folder_unseen").html() != null)? $(".selected").find(".folder_unseen").html() : "0").css("color", "red"); 
     528                        $('#new_m').html(data.tot_unseen > 0 ? data.tot_unseen : "0").css("color","red");  
     529                //$("#new_m").html(($(".selected").find(".folder_unseen").html() != "0" && $(".selected").find(".folder_unseen").html() != null)? $(".selected").find(".folder_unseen").html() : "0").css("color", "red");  
    529530                        //update_menu(); 
    530531                        $(".folders-loading").removeClass("folders-loading"); 
Note: See TracChangeset for help on using the changeset viewer.