Ignore:
Timestamp:
11/22/12 17:10:12 (11 years ago)
Author:
angelo
Message:

Ticket #3197 - Reduzir tempo de carregamento do modulo Expresso MailexpressoMail1_2/js/draw_api.min.js

File:
1 edited

Legend:

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

    r7547 r7548  
    18861886                td_element2 = createTDElement(0,1,"td_msg"); 
    18871887                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'}); 
    18891889 
    18901890                td_element21 = createTDElement(0,2,"td_msg",null,"td_message_answered_"+headers_msgs.msg_number); 
     
    26042604        td.innerHTML = _name.bold() + ', ' + info_msg.smalldate; 
    26052605        //k! 
    2606         if (info_msg.attachments && info_msg.attachments.length > 0) 
    2607                 td.innerHTML += "&nbsp<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 += "&nbsp"; 
     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') 
    26102614        { 
    26112615                if (info_msg.signature != "void") 
     
    49954999                "width": (is_webkit ? "205px" : "100px"),  
    49965000                "border-width": "0 0 0px 0px",  
    4997                 "-moz-transform" : "rotate(-180deg) translate(5px, -0.5px) scale(1.1)",  
    4998                 "-webkit-transform" : "rotate(-180deg) translate(0px, 0px)" 
     5001        "-moz-transform" : "rotate(-180deg) translate(5px, -0.5px) scale(1.1)",  
     5002        "-webkit-transform" : "rotate(-180deg) translate(0px, 0px)" 
    49995003        }).end().end().end().filter(".message-attach-link").click(function(){ 
    50005004                jQuery('#message-attach-dialog').html(DataLayer.render("../prototype/modules/attach_message/attach_message.ejs", {})); 
     
    53875391                        else 
    53885392                                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'}); 
    53905394                } 
    53915395                else if(value > 80) 
Note: See TracChangeset for help on using the changeset viewer.