Changeset 6064 for branches


Ignore:
Timestamp:
04/27/12 17:13:40 (8 years ago)
Author:
rafaelraymundo
Message:

Ticket #2671 - Mensagem excedendo limite ao enviar com enexos.

Location:
branches/2.3/expressoMail1_2/js
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/expressoMail1_2/js/connector.js

    r4605 r6064  
    596596        //      url: 'module.class.method' 
    597597        //      form: form element (for upload files)    
    598         function cExecuteForm(url, form, handler,id){ 
     598        function cExecuteForm(url, form, handler,id,disableCancel){ 
    599599                connector.buildBar(); 
    600600                isExecuteForm = true; 
    601601                 
    602                 document.onmouseup = alertBut; 
     602                document.onmouseup = disableCancel ? '' : alertBut; 
    603603                 
    604604                connector.showProgressBar(); 
  • branches/2.3/expressoMail1_2/js/draw_api.js

    r5319 r6064  
    25732573        if ((preferences.save_in_folder == '-1') || (preferences.save_in_folder == '')){ 
    25742574                //var option_send = '<span class="message_options" onclick=send_message("'+ID+'","null","null");>'+get_lang("Send")+'</span> | '; 
    2575                 var option_send   = '<input type="button" id="send_button_'+ID+'" class="em_button_like_span" tabindex="1" value="'+get_lang("Send and not file")+'" onclick=send_message("'+ID+'","null","null");>' + ' | '; 
     2575                var option_send   = '<span class="message_options" id="send_button_'+ID+'" tabindex="1" " onclick=send_message("'+ID+'","null","null");>'+get_lang("Send and not file")+'</span>' + ' | '; 
    25762576 
    25772577                if(!expresso_offline) 
    2578                         var option_send_and_file= '<span class="message_options" onclick=wfolders.makeWindow("'+ID+'","send_and_file");>'+get_lang("Send and file")+'</span> | '; 
     2578                        var option_send_and_file= '<span id="send_button_save_'+ID+'" class="message_options" onclick=wfolders.makeWindow("'+ID+'","send_and_file");>'+get_lang("Send and file")+'</span> | '; 
    25792579                else 
    25802580                        var option_send_and_file=''; 
     
    25822582        else{ 
    25832583                //var option_send = '<span class="message_options" onclick="send_message(\''+ID+'\',\''+preferences.save_in_folder+'\',\'null\');">'+get_lang("Send")+'</span> | '; 
    2584                 var option_send   = '<input type="button" id="send_button_'+ID+'" class="em_button_like_span" tabindex="1" value="'+get_lang("Send")+'" onclick="send_message(\''+ID+'\',\''+preferences.save_in_folder+'\',\'null\');">' + ' | '; 
     2584                var option_send   = '<span class="message_options" id="send_button_'+ID+'" tabindex="1" onclick="send_message(\''+ID+'\',\''+preferences.save_in_folder+'\',\'null\');">'+get_lang("Send")+'</span>' + ' | '; 
    25852585                var option_send_and_file=''; 
    25862586                wfolders.alert = true; 
  • branches/2.3/expressoMail1_2/js/main.js

    r5898 r6064  
    16971697                else 
    16981698                        write_msg(get_lang("Connection failed with %1 Server. Try later.", "Web")); 
    1699                  
     1699 
     1700                var send_link = Element("send_button_"+ID); 
     1701                send_link.onclick = function onclick(event) {send_message(ID, preferences.save_in_folder, null);}; 
     1702                send_link.className = 'message_options'; 
     1703 
     1704                var send_save_link = Element('send_button_save_'+ID); 
     1705                if (send_save_link) 
     1706                { 
     1707                    send_save_link.onclick = function onclick(event) {wfolders.makeWindow(ID,"send_and_file");}; 
     1708                    send_save_link.className = 'message_options'; 
     1709                } 
     1710 
    17001711                var save_link = Element("save_message_options_"+ID); 
    17011712                save_link.onclick = function onclick(event) {openTab.toPreserve[ID] = true;save_msg(ID);} ; 
     
    17921803        if ( document.getElementById('viewsource_rt_checkbox_' + ID).checked == true ) 
    17931804                document.getElementById('viewsource_rt_checkbox_' + ID).click(); 
     1805 
     1806        var send_link = Element('send_button_'+ID); 
     1807        send_link.onclick = ''; 
     1808        send_link.className = 'message_options_inactive'; 
     1809 
     1810        var send_save_link = Element('send_button_save_'+ID); 
     1811        if (send_save_link) 
     1812        { 
     1813            send_save_link.onclick = ''; 
     1814            send_save_link.className = 'message_options_inactive'; 
     1815        } 
    17941816 
    17951817        var save_link = Element("save_message_options_"+ID); 
     
    18781900        } 
    18791901        else 
    1880                 cExecuteForm("$this.imap_functions.send_mail", form, handler_send_message, ID); 
     1902                cExecuteForm("$this.imap_functions.send_mail", form, handler_send_message, ID, true); 
    18811903} 
    18821904function change_tr_properties(tr_element, newUid, newSubject){ 
Note: See TracChangeset for help on using the changeset viewer.