Changeset 3390 for branches/2.2/expressoMail1_2/js
- Timestamp:
- 10/21/10 15:29:26 (14 years ago)
- Location:
- branches/2.2/expressoMail1_2/js
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/js/TreeShow.js
r3213 r3390 109 109 return false; //Não posso criar pastas contendo a string local_ 110 110 } 111 if(button.match(/[\/\\\!\@\#\$\%\&\*\(\)]/gi)){ 112 alert(get_lang("cannot create folder. try other folder name")); 113 return false; 114 } 111 115 112 116 if(trim(button) == "" || trim(button) == null){ … … 130 134 return false; //Não posso criar pastas contendo a string local_ 131 135 } 136 137 if(button1.match(/[\/\\\!\@\#\$\%\&\*\(\)]/gi)){ 138 alert(get_lang("It's not possible rename this folder. try other folder name")); 139 return false; 140 } 141 132 142 if(trim(button1) == "" || trim(button1) == null){ 133 143 return false; -
branches/2.2/expressoMail1_2/js/local_messages.js
r3380 r3390 716 716 } catch (error) { 717 717 this.finalize(); 718 throw error;719 718 return false; 720 719 } -
branches/2.2/expressoMail1_2/js/messages_controller.js
r3053 r3390 108 108 if (this.is_local_folder(ttree.FOLDER)) { 109 109 folder = prompt(get_lang("Enter a name for the box"), ""); 110 if(folder.match(/[\/\\\!\@\#\$\%\&\*\(\)]/gi)){ 111 alert(get_lang("It's not possible rename this folder. try other folder name")); 112 return false; 113 } 110 114 if(trim(folder) == "" || trim(folder) == null){ 111 115 alert(get_lang("you have to enter the name of the new folder")); … … 130 134 alert(get_lang("you have to enter the name of the new folder")); 131 135 return false; 136 } 137 if(folder.match(/[\/\\\!\@\#\$\%\&\*\(\)]/gi)){ 138 alert(get_lang("cannot create folder. try other folder name")); 139 return false; 132 140 } 133 141 if(ttree.FOLDER=="local_root")
Note: See TracChangeset
for help on using the changeset viewer.