- Timestamp:
- 11/16/12 16:35:59 (12 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r7525 r7526 4787 4787 }).click(function(){ 4788 4788 save_msg(ID); 4789 refresh(); 4789 4790 }) 4790 4791 //BOTAO CONF. LEITURA … … 4886 4887 var upload = $(DataLayer.render("../prototype/modules/mail/templates/attachment_add_itemlist.ejs", {file : attach})); 4887 4888 upload.find('.att-box-delete').click(function(){ 4889 $("#content_id_"+currentTab+" .save").button("enable"); 4888 4890 var idAttach = $(this).parent().find('input[name="fileId[]"]').val(); 4889 4891 fileUploadMSG.find(' .attachments-list').find('input[value="'+idAttach+'"]').remove(); … … 4952 4954 }, 4953 4955 done: function(e, data){ 4956 $("#content_id_"+currentTab+" .save").button("enable"); 4954 4957 var attach_box = fileUploadMSG.find('.att-box-loading:first').parents('.att-box'); 4955 4958 var attach = { … … 5067 5070 attach.fileSize = formatBytes(onceOpenedMessages[folder_name][message_number].size); 5068 5071 var upload = $(DataLayer.render("../prototype/modules/mail/templates/attachment_add_itemlist.ejs", {file : attach})); 5069 upload.find('.att-box-loading').remove(); 5072 $("#content_id_"+currentTab+" .save").button("enable"); 5073 upload.find('.att-box-loading').remove(); 5070 5074 upload.append('<input type="hidden" name="fileId[]" value=\''+idATT+'\'/>'); 5071 5075 5072 5076 upload.find('.att-box-delete').click(function(){ 5077 $("#content_id_"+currentTab+" .save").button("enable"); 5073 5078 var idAttach = $(this).parent().find('input[name="fileId[]"]').val(); 5074 5079 fileUploadMSG.find(' .attachments-list').find('input[value="'+idAttach+'"]').remove(); -
trunk/expressoMail1_2/js/main.js
r7525 r7526 2248 2248 //It is verifying if the message was modified or not. 2249 2249 var btnSaveVerify = function(){ 2250 $("#content_id_"+currentTab+" .save").button("disable") 2251 2252 2253 $("#content_id_"+currentTab+" .to").keydown(function() { 2250 $("#content_id_"+currentTab+" .save").button("disable"); 2251 2252 dataBtn = new Array(".to",".cc",".cco","input[name=input_subject]",".reply-to"); 2253 2254 for(var i in dataBtn){ 2255 $("#content_id_"+currentTab+" "+dataBtn[i]).keydown(function() { 2254 2256 $("#content_id_"+currentTab+" .save").button("enable"); 2255 } ); 2256 $("#content_id_"+currentTab+" input[name=input_subject]").keydown(function() { 2257 $("#content_id_"+currentTab+" .save").button("enable"); 2258 } ); 2257 }); 2258 } 2259 2259 2260 2260 RichTextEditor.keydown(new_border_ID); … … 3393 3393 saveButtonDisabled = $("#content_id_"+ID).find(".save").button('option','disabled'); 3394 3394 if(autoSaveControl.status[ID] === false && !saveButtonDisabled) 3395 save_msg(ID); 3395 save_msg(ID); 3396 refresh(); 3396 3397 } 3397 3398
Note: See TracChangeset
for help on using the changeset viewer.