Changeset 7545 for trunk/expressoMail1_2/js/search.js
- Timestamp:
- 11/22/12 13:55:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/search.js
r7544 r7545 563 563 td.id = "td_message_followup_search_"+uid_msg; 564 564 td.setAttribute("class","search-result-item"); 565 td1 = '<div class="flag-edited" style="width:8px;height:6px; background-image: url(../prototype/modules/mail/img/mail-sprites.png);background-position: 0 -864px; "></div>';565 td1 = '<div class="flag-edited" style="width:8px;height:6px; background-image: url(../prototype/modules/mail/img/mail-sprites.png);background-position: 0 -864px; background-repeat:no-repeat;"></div>'; 566 566 567 567 $(td).click(function(event, ui){ … … 606 606 607 607 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 608 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px" });608 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px",'background-repeat':'no-repeat'}); 609 609 610 610 if (fail) { … … 634 634 DataLayer.commit(false, false, function(){ 635 635 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 636 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px" });636 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px",'background-repeat':'no-repeat'}); 637 637 if(current_folder == mailbox){ 638 638 updateCacheFollowupflag(messageClickedId, mailbox, false); … … 643 643 $('#td_message_followup_' + messageClickedId + ', ' + 644 644 'tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 645 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px","margin-left":"0" });645 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px","margin-left":"0",'background-repeat':'no-repeat'}); 646 646 }else{ 647 647 updateCacheFollowupflag(messageClickedId, mailbox, false); … … 650 650 651 651 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 652 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px","margin-left":"0" });652 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px","margin-left":"0",'background-repeat':'no-repeat'}); 653 653 } 654 654 }); … … 656 656 } else { 657 657 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 658 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px" });658 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px",'background-repeat':'no-repeat'}); 659 659 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited").css("background", followupColor); 660 660 $(this).parents('[role="'+messageClickedId+'_'+mailbox+'"]').attr('class', 'selected_msg').find(':checkbox').trigger('click'); … … 675 675 if (aux.labels) { 676 676 //td1 = '<img src="../prototype/modules/mail/img/tag.png">'; 677 $(td1).css({'background-image':'url(../prototype/modules/mail/img/mail-sprites.png)','background-position': '0 -1711px',"margin-left":"0",'margin-top':'3px' });677 $(td1).css({'background-image':'url(../prototype/modules/mail/img/mail-sprites.png)','background-position': '0 -1711px',"margin-left":"0",'margin-top':'3px','background-repeat':'no-repeat'}); 678 678 updateLabelsColumn(aux) 679 679 } else {
Note: See TracChangeset
for help on using the changeset viewer.