Ignore:
Timestamp:
11/23/12 16:34:10 (11 years ago)
Author:
angelo
Message:

Ticket #3197 - Reduzir tempo de carregamento do modulo Expresso Mail

File:
1 edited

Legend:

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

    r7550 r7561  
    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).css({'background-image':'url(templates/'+template+'/images/mail-gifs.gif)','background-position': '0 -242px'}); 
     1888                        $(td_element2).addClass('expressomail-sprites-clip'); 
    18891889 
    18901890                td_element21 = createTDElement(0,2,"td_msg",null,"td_message_answered_"+headers_msgs.msg_number); 
     
    26052605        //k! 
    26062606        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(); 
     2607        $(td).addClass('expressomail-sprites-clip').css({'cursor':'pointer','title': info_msg.attachments[0].name}).click(function(){ 
     2608            $("#option_hide_more_"+ID).click(); 
    26112609        }); 
     2610        td.innerHTML = "&nbsp&nbsp" + td.innerHTML; 
    26122611    }     
    26132612    if (typeof(info_msg.signature) == 'string') 
Note: See TracChangeset for help on using the changeset viewer.