Ignore:
Timestamp:
02/11/09 13:42:40 (15 years ago)
Author:
eduardoalex
Message:

Ticket #413

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/TreeShow.js

    r673 r689  
    9898                                if(func == "newpast"){ 
    9999                    var button = prompt(get_lang('Enter the name of the new folder:'),""); 
     100                                         
     101                                        if (button.indexOf("local_") != -1  || button.toUpperCase() == "INBOX") { 
     102                                                alert(get_lang("cannot create folder. try other folder name")); 
     103                                                return false; //Não posso criar pastas contendo a string local_                                  
     104                                        } 
     105 
    100106                                        if(trim(button) == "" || trim(button) == null){ 
    101107                                                return false; 
     
    114120                                        } 
    115121                    var button1 = prompt(get_lang("Enter a name for the box"), ""); 
     122                                        if (button1.indexOf("local_") != -1 || button1.toUpperCase() == "INBOX") { 
     123                                                alert(get_lang("cannot create folder. try other folder name")); 
     124                                                return false; //Não posso criar pastas contendo a string local_                                  
     125                                        } 
    116126                                        if(trim(button1) == "" || trim(button1) == null){ 
    117127                                                return false; 
Note: See TracChangeset for help on using the changeset viewer.