Changeset 3901


Ignore:
Timestamp:
03/24/11 10:18:06 (11 years ago)
Author:
brunocosta
Message:

Ticket #1664 - Evitando a exclusão de pastas padrão no arquivamento local.

File:
1 edited

Legend:

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

    r3884 r3901  
    164164                                return false; 
    165165                        } 
    166                         if (ttree.FOLDER == 'local_Inbox') { 
     166                        if (ttree.FOLDER == 'local_Inbox' || (preferences.auto_create_local == '1' && (ttree.FOLDER == 'local_Sent' || ttree.FOLDER == 'local_Drafts' || ttree.FOLDER == 'local_Trash'))) { 
    167167                                alert(get_lang("It's not possible delete the folder: ")  + lang_folder(ttree.FOLDER.substr(6)) + '.'); 
    168168                                return false; 
Note: See TracChangeset for help on using the changeset viewer.