Changeset 3921


Ignore:
Timestamp:
03/28/11 13:44:49 (12 years ago)
Author:
brunocosta
Message:

Ticket #1689 - Interrompe a função create_folder se o valor do retorno do Prompt for null.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/messages_controller.js

    r3901 r3921  
    133133                        folder = prompt(get_lang('Enter the name of the new folder:'), ""); 
    134134 
    135                         if(trim(folder) == "" || trim(folder) == null){ 
     135                        if(folder == null) 
     136                            return; 
     137 
     138 
     139                        if(trim(folder) == ""){ 
    136140                                alert(get_lang("you have to enter the name of the new folder")); 
    137141                                return false; 
Note: See TracChangeset for help on using the changeset viewer.