Changeset 4312


Ignore:
Timestamp:
05/10/11 12:25:54 (13 years ago)
Author:
adriano
Message:

Ticket #1859 - Falha na importacao de uma mensagem no ExpressoMail?

Location:
sandbox/2.2.0.2/expressoMail1_2/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/expressoMail1_2/js/main.js

    r4308 r4312  
    25362536        function handler(data){ 
    25372537                // Its necessary to encapsulate the data returned (IE bugfix) 
     2538                clear_msg(); 
    25382539                return_import_msgs(data,wfolders_tree); 
    25392540        } 
     
    25512552        folder.value = wfolders_tree._selected.id; 
    25522553        document.form_import.appendChild(folder); 
    2553         write_msg(get_lang('You must wait while the messages will be imported...')); 
     2554        write_msg(get_lang('You must wait while the messages will be imported...'), undefined, true); 
    25542555 
    25552556        cExecuteForm('$this.imap_functions.import_msgs', document.form_import, handler); 
  • sandbox/2.2.0.2/expressoMail1_2/js/modal/modal.js

    r1121 r4312  
    209209} 
    210210 
    211 function write_msg(msg, type) 
     211function write_msg(msg, type, keepAlive) 
    212212{ 
    213213        try 
     
    248248        msg_div.style.display = ''; 
    249249         
    250         setTimeout_write_msg = setTimeout("clean_msg();", 4000); 
     250        if( !keepAlive ) 
     251                setTimeout_write_msg = setTimeout("clean_msg();", 4000); 
    251252} 
    252253 
Note: See TracChangeset for help on using the changeset viewer.