Changeset 7887


Ignore:
Timestamp:
02/18/13 11:33:35 (7 years ago)
Author:
antonio
Message:

Ticket #3351 - Corrigido erro no contador de mensagens não lidas da aba da pasta.

Location:
trunk/prototype/modules/mail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/js/foldertree.js

    r7786 r7887  
    737737        } 
    738738    ); 
    739     $("#new_m").html($('.selected').find(".folder_unseen").html() ? $('.selected').find(".folder_unseen").html() : "0").css("color", "red"); 
     739    $("#new_m").html($('.selected .message_unseen_count:first .folder_unseen').html() ? $('.selected .message_unseen_count:first .folder_unseen').html() : "0").css("color", "red"); 
    740740} 
  • trunk/prototype/modules/mail/templates/detailedfoldertree.ejs

    r7751 r7887  
    2626                  %><li id="<%= array_trees[i].id %>" class="closed"><span class="folder <%= folder_class %>" title="<%= folder_name %>" style="text-align : left; position : static;"><%= folder_name %> 
    2727                  <% if(array_trees[i].messageCount.unseen > 0){        %> 
    28                         <span style="text-align : left;">[<label id="dftree_<%= array_trees[i].id%>_unseen" class="folder_unseen" style="color : red; text-align : left;"><%= array_trees[i].messageCount.unseen %></label>]</span> 
    29                   <% }  %> 
     28                        <span class="message_unseen_count" style="text-align : left;">[<label id="dftree_<%= array_trees[i].id%>_unseen" class="folder_unseen" style="color : red; text-align : left;"><%= array_trees[i].messageCount.unseen %></label>]</span> 
     29          <% }  %> 
    3030                  <% if(array_trees[i].children_unseen > 0){    %> 
    31                         <span style="text-align : left;">[<label id="dftree_<%= array_trees[i].id%>_children_unseen" class="folder_unseen" style="color : blue; text-align : left;"><%= array_trees[i].children_unseen %></label>]</span> 
     31                        <span style="text-align : left;">[<label id="dftree_<%= array_trees[i].id%>_children_unseen" class="folder_children_unseen" style="color : blue; text-align : left;"><%= array_trees[i].children_unseen %></label>]</span> 
    3232                  <% }  %> 
    3333                  </span> 
Note: See TracChangeset for help on using the changeset viewer.