Changeset 7610 for trunk


Ignore:
Timestamp:
12/05/12 10:14:36 (11 years ago)
Author:
angelo
Message:

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

Location:
trunk
Files:
2 edited

Legend:

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

    r7603 r7610  
    48184818        $(this).prev().show(); 
    48194819        }); 
    4820         fileUploadMSG.find(".button").button().filter(".fileinput-button").find(".ui-button-text").css("margin-top", "2px").find("input:file").fileupload({ 
     4820        fileUploadMSG.find(".fileUploadButton, .message-attach-link").button().filter(".fileUploadButton").click(function(){ 
     4821            fileUploadMSG.find("input:file").trigger("click"); 
     4822    }); 
     4823 
     4824    fileUploadMSG.find("input:file").fileupload({ 
    48214825                //singleFileUploads : true,fileUploadMSG 
    48224826                sequentialUploads: true,  
     
    49944998            }); 
    49954999        }*/ 
    4996         }).css({ 
     5000        });/*.css({ 
    49975001                "height" : "20px",  
    49985002                "width": (is_webkit ? "205px" : "100px"),  
     
    50005004        "-moz-transform" : "rotate(-180deg) translate(5px, -0.5px) scale(1.1)",   
    50015005        "-webkit-transform" : "rotate(-180deg) translate(0px, 0px)" 
    5002         }).end().end().end().filter(".message-attach-link").click(function(){ 
     5006        }).end().end().end().*/ 
     5007    fileUploadMSG.find(".message-attach-link").click(function(){ 
    50035008                jQuery('#message-attach-dialog').html(DataLayer.render("../prototype/modules/attach_message/attach_message.ejs", {})); 
    50045009                var lastFolderSelected = $('#content_folders .folder.selected'); 
  • trunk/prototype/modules/mail/templates/attachment.ejs

    r6930 r7610  
    1 <div id="fileupload_msg<%=data.ID%>" class="fileupload" style="margin : 15px 0px -15px -10px; padding-bottom : 5px;"> 
    2         <div class="row fileupload-buttonbar"> 
    3                 <div class="button-files-upload"> 
    4                         <<%= is_webkit ? 'button' : 'span style="height: 22px; cursor:pointer;"' %>  class="fileinput-button button small"> 
    5                                 <span style="margin-top: 4px; cursor:pointer;"><i class="icon-plus icon-white"></i>Anexar arquivos</span> 
    6                                 <INPUT type="file" id="fileInput<%=data.ID%>" name="files[]" multiple></INPUT> 
     1<div id="fileupload_msg<%=data.ID%>" class="fileupload" style="margin : 15px 0px 0px 0px; padding-bottom : 5px;"> 
     2                        <button class="fileUploadButton">Anexar Arquivos</button> 
     3                        <INPUT type="file" id="fileInput<%=data.ID%>" name="files[]" style="display:none;" multiple></INPUT> 
    74                        </<%= is_webkit ? 'button' : 'span' %>> 
    8                         <button class="message-attach-link button small"> 
     5                        <button class="message-attach-link button-small"> 
    96                                <span>Anexar mensagens</span> 
    10                         </button> 
    11                 </div> 
    12         </div> 
    13         <br /> 
     7                        </button>                
    148        <div class="files-list" style="margin: 5px; padding: 5px;"> 
    159                <div class="attachments-list ui-corner-all" style="display:none;"></div> 
Note: See TracChangeset for help on using the changeset viewer.