Changeset 7548 for trunk/expressoMail1_2/js/draw_api.js
- Timestamp:
- 11/22/12 17:10:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r7547 r7548 1886 1886 td_element2 = createTDElement(0,1,"td_msg"); 1887 1887 if (headers_msgs.attachment && (headers_msgs.attachment == 1 || headers_msgs.attachment.number_attachments> 0)) 1888 td_element2.innerHTML = "<img src ='templates/"+template+"/images/clip.gif' >";1888 $(td_element2).css({'background-image':'url(templates/'+template+'/images/mail-gifs.gif)','background-position': '0 -242px'}); 1889 1889 1890 1890 td_element21 = createTDElement(0,2,"td_msg",null,"td_message_answered_"+headers_msgs.msg_number); … … 2604 2604 td.innerHTML = _name.bold() + ', ' + info_msg.smalldate; 2605 2605 //k! 2606 if (info_msg.attachments && info_msg.attachments.length > 0) 2607 td.innerHTML += " <img style='cursor:pointer' onclick='javascript:Element(\"option_hide_more_"+ID+"\").onclick()' src ='templates/"+template+"/images/clip.gif' title='"+info_msg.attachments[0].name+"'>"; 2608 2609 if (typeof(info_msg.signature) == 'string') 2606 if (info_msg.attachments && info_msg.attachments.length > 0){ 2607 td.innerHTML += " "; 2608 $(td).css({'background-image':'url(templates/'+template+'/images/mail-gifs.gif)','background-position': '0 -242px'}); 2609 $(td).find('img').css({'cursor':'pointer,title': info_msg.attachments[0].name}).click(function(){ 2610 $("option_hide_more_"+ID).click(); 2611 }); 2612 } 2613 if (typeof(info_msg.signature) == 'string') 2610 2614 { 2611 2615 if (info_msg.signature != "void") … … 4995 4999 "width": (is_webkit ? "205px" : "100px"), 4996 5000 "border-width": "0 0 0px 0px", 4997 "-moz-transform" : "rotate(-180deg) translate(5px, -0.5px) scale(1.1)",4998 5001 "-moz-transform" : "rotate(-180deg) translate(5px, -0.5px) scale(1.1)", 5002 "-webkit-transform" : "rotate(-180deg) translate(0px, 0px)" 4999 5003 }).end().end().end().filter(".message-attach-link").click(function(){ 5000 5004 jQuery('#message-attach-dialog').html(DataLayer.render("../prototype/modules/attach_message/attach_message.ejs", {})); … … 5387 5391 else 5388 5392 write_msg(get_lang("Warning: Your Mailbox is almost full!")); 5389 $("#quota_progressbar").find(".ui-progressbar-value").css({"background-image": "url(templates/default/images/ dsalert.gif)", "border-color" : "red"});5393 $("#quota_progressbar").find(".ui-progressbar-value").css({"background-image": "url(templates/default/images/mail-gifs.gif)", "border-color" : "red",'background-position': '0 -305px'}); 5390 5394 } 5391 5395 else if(value > 80)
Note: See TracChangeset
for help on using the changeset viewer.