Changeset 7767


Ignore:
Timestamp:
01/17/13 17:03:41 (7 years ago)
Author:
marcieli
Message:

Ticket #3308 - Listagem de mensagens com marcadores nao eh atualizada apos remocao de marcador.

File:
1 edited

Legend:

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

    r7754 r7767  
    267267        } 
    268268         
    269          if(current_folder == msg_folder || !current_folder){ 
    270                  $('#td_message_labels_' + msg_number +', tr[role="'+msg_number+'_'+msg_folder+'"] #td_message_labels_search_' + msg_number) 
    271                  .html('').css({'background-image':'url(../prototype/modules/mail/img/mail-sprites.png)','background-position': '0 -1706px',"margin-left":"0",'margin-top':'3px','background-repeat':'no-repeat'}); 
    272         }else{ 
    273                 $('tr[role="'+msg_number+'_'+msg_folder+'"] #td_message_labels_search_' + msg_number) 
    274                 .html('').css({'background-image':'url(../prototype/modules/mail/img/mail-sprites.png)','background-position': '0 -1706px',"margin-left":"0",'margin-top':'3px','background-repeat':'no-repeat'}); 
    275         } 
    276          
    277269        var menuItems = {}; 
    278270        if (messageInfo.labels) { 
     
    298290                }); 
    299291                if (labeleds) { 
     292                if(current_folder == msg_folder || !current_folder){ 
     293                    $('#td_message_labels_' + msg_number +', tr[role="'+msg_number+'_'+msg_folder+'"] #td_message_labels_search_' + msg_number) 
     294                        .html('').css({'background-image':'url(../prototype/modules/mail/img/mail-sprites.png)','background-position': '0 -1706px',"margin-left":"0",'margin-top':'3px','background-repeat':'no-repeat'}); 
     295                }else{ 
     296                    $('tr[role="'+msg_number+'_'+msg_folder+'"] #td_message_labels_search_' + msg_number) 
     297                        .html('').css({'background-image':'url(../prototype/modules/mail/img/mail-sprites.png)','background-position': '0 -1706px',"margin-left":"0",'margin-top':'3px','background-repeat':'no-repeat'}); 
     298                } 
    300299                        for (var i=0; i < labeleds.length; i++) 
    301300                                menuItems[labeleds[i].label.id] = labeleds[i].label; 
    302301                } else { 
    303302                        $('#td_message_labels_' + msg_number +', tr[role="'+msg_number+'_'+msg_folder+'"] #td_message_labels_search_' + msg_number) 
    304                         .html(''); 
     303                        .html('').css("background", ""); 
    305304                        //$.contextMenu( 'destroy', '#td_message_labels_' + msg_number +', #td_message_labels_search_' + msg_number+':first'); 
    306305                        $.contextMenu( 'destroy', '#td_message_labels_' + msg_number +', tr[role="'+msg_number+'_'+msg_folder+'"] #td_message_labels_search_' + msg_number); 
Note: See TracChangeset for help on using the changeset viewer.