Changeset 7057 for branches


Ignore:
Timestamp:
08/17/12 15:14:00 (12 years ago)
Author:
eduardow
Message:

Ticket #3031 - Não exibe que o anexo ultrapassou o tamanho maximo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/js/draw_api.js

    r7035 r7057  
    43834383        content.find(".attachment td").filter(".value").prepend(DataLayer.render("../prototype/modules/mail/templates/attachment.ejs", {ID:ID})); 
    43844384        var fileUploadMSG = $('#fileupload_msg'+ID); 
    4385         var maxAttachmentSize = (preferences.max_attachment_size !== "" && preferences.max_attachment_size != 0) ? (parseInt(preferences.max_attachment_size.replace('M', '')) * 1048576 ) : false; 
     4385        var maxAttachmentSize = (preferences.max_attachment_size !== "" && preferences.max_attachment_size != 0) ? (parseInt(preferences.max_attachment_size.replace('M', '')) * 1048576 ) : 41943040;  
    43864386         
    43874387        fileUploadMSG.find(".button").button().filter(".fileinput-button").find(".ui-button-text").css("margin-top", "2px").find("input:file").fileupload({ 
Note: See TracChangeset for help on using the changeset viewer.