Changeset 7760
- Timestamp:
- 01/16/13 16:48:26 (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r7755 r7760 2102 2102 2103 2103 if(get_current_folder().split("_")[0] != "local"){ 2104 td_element26.innerHTML = '<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>';2104 td_element26.innerHTML = '<div class="flag-edited" style="width:8px;height:6px;"><img src="../prototype/modules/mail/img/flagEditor.png"></div>'; 2105 2105 } else { 2106 2106 td_element26.innerHTML = ""; … … 2177 2177 $('#td_message_followup_' + messageClickedId + ', ' + 2178 2178 'tr[role="'+messageClickedId+'_'+msg_folder+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 2179 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px"});2179 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 2180 2180 2181 2181 … … 2202 2202 $('#td_message_followup_' + messageClickedId + ', ' + 2203 2203 'tr[role="'+messageClickedId+'_'+msg_folder+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 2204 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px"});2204 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 2205 2205 2206 2206 $('#td_message_followup_' + messageClickedId + ', ' + … … 2209 2209 $('#td_message_followup_' + messageClickedId + ', ' + 2210 2210 'tr[role="'+messageClickedId+'_'+msg_folder+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 2211 .css({"background-image":"url(../prototype/modules/mail/img/mail-sprites.png)","background-position":"0 -864px","margin-left":"0"});2211 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 2212 2212 }); 2213 2213 … … 2215 2215 $('#td_message_followup_' + messageClickedId + ', ' + 2216 2216 'tr[role="'+messageClickedId+'_'+msg_folder+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 2217 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px"});2217 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 2218 2218 $('#td_message_followup_' + messageClickedId + ', ' + 2219 2219 'tr[role="'+messageClickedId+'_'+msg_folder+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited").css("background", followupColor); … … 5265 5265 var el_shared_users = Element("el_shared_users"); 5266 5266 /* Recupera a pasta atual do usuário (selecionada) */ 5267 if ((typeof(folder) == "object") && folder.id){5268 folder = folder.id;5269 }5270 5267 var user_shared = folder.split(cyrus_delimiter); 5271 5268 /* Verifica se está nas próprias pastas */ -
trunk/expressoMail1_2/js/search.js
r7751 r7760 564 564 td.id = "td_message_followup_search_"+uid_msg; 565 565 td.setAttribute("class","search-result-item"); 566 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 td1 = '<div class="flag-edited" style="width:8px;height:6px;"><img src="../prototype/modules/mail/img/flagEditor.png"></div>'; 567 567 568 568 $(td).click(function(event, ui){ … … 607 607 608 608 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 609 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px",'background-repeat':'no-repeat'});609 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 610 610 611 611 if (fail) { … … 635 635 DataLayer.commit(false, false, function(){ 636 636 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 637 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px",'background-repeat':'no-repeat'});637 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 638 638 if(current_folder == mailbox){ 639 639 updateCacheFollowupflag(messageClickedId, mailbox, false); … … 644 644 $('#td_message_followup_' + messageClickedId + ', ' + 645 645 'tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 646 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px","margin-left":"0",'background-repeat':'no-repeat'});646 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 647 647 }else{ 648 648 updateCacheFollowupflag(messageClickedId, mailbox, false); … … 651 651 652 652 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 653 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px","margin-left":"0",'background-repeat':'no-repeat'});653 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 654 654 } 655 655 }); … … 657 657 } else { 658 658 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited") 659 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px",'background-repeat':'no-repeat'});659 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 660 660 $('tr[role="'+messageClickedId+'_'+mailbox+'"] #td_message_followup_search_' + messageClickedId).find(".flag-edited").css("background", followupColor); 661 661 $(this).parents('[role="'+messageClickedId+'_'+mailbox+'"]').attr('class', 'selected_msg').find(':checkbox').trigger('click'); -
trunk/prototype/modules/mail/js/followupflag.js
r7720 r7760 135 135 flagged.find("img").attr("src", "../prototype/modules/mail/img/flagChecked.png").css("margin-left","-3px"); 136 136 }else{ 137 flagged.css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px","margin-left":"0"});137 flagged.css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 138 138 } 139 139 … … 243 243 $('#td_message_followup_' + messageNumber + ', ' + 244 244 'tr[role="'+messageNumber+'_'+folder_name+'"] #td_message_followup_search_' + messageNumber).find(".flag-edited") 245 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px","margin-left":"0"});245 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 246 246 }else{ 247 247 $('tr[role="'+messageNumber+'_'+folder_name+'"] #td_message_followup_search_' + messageNumber).attr('title', '').find(".flag-edited").css("background", '#CCC'); 248 248 $('tr[role="'+messageNumber+'_'+folder_name+'"] #td_message_followup_search_' + messageNumber).find(".flag-edited") 249 .css({"background-image":"url(../prototype/modules/mail/img/ mail-sprites.png)","background-position":"0 -864px","margin-left":"0"});249 .css({"background-image":"url(../prototype/modules/mail/img/flagEditor.png)"}); 250 250 } 251 251 updateCacheFollowupflag(messageNumber, folder_name, false);
Note: See TracChangeset
for help on using the changeset viewer.