Changeset 5505


Ignore:
Timestamp:
02/13/12 11:28:56 (12 years ago)
Author:
gustavo
Message:

Ticket #2484 - Melhorias na estrutura de diretórios do ExpressoMail?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/js/foldertree.js

    r5503 r5505  
    8080                        // MUDANÇA DE PASTAS! 
    8181                        var target = $(this);            
    82                         if( target.is('.collapsable-hitarea, .expandable-hitarea, .lastCollapsable-hitarea, .lastExpandable-hitarea, .treeview ,.folder_unseen,.ui-icon, .float-menu, .new_folder') ) 
     82                        if( target.is('.collapsable-hitarea, .expandable-hitarea, .lastCollapsable-hitarea, .lastExpandable-hitarea, .treeview ,.folder_unseen,.ui-icon, .float-menu, .new_folder, .folders_loading') ) 
    8383                                return; 
     84                        if( target.parent().find(".new_folder").length) 
     85                                return; 
     86                                 
    8487                        if( !target.attr('id') ) 
    8588                                target = target.parent(); 
     
    138141                        }, 
    139142                        drop : function(event, ui){ 
    140                                 $(this).css("border", ""); 
     143                                $(this).removeClass("folder-over"); 
    141144                                if($(this).parent().attr('id') == undefined){ 
    142145                                        var folder_to = 'INBOX'; 
     
    199202                                         
    200203                                        if($('[id="'+teste+'"]').length){ 
    201                                                 return alert(get_lang("Can not move this folder to this location, because the ui has already a folder with this name")); 
     204                                                return alert(get_lang("Can not move this folder to this location, because the target has already a folder with this name")); 
    202205                                        } 
    203206                                         
Note: See TracChangeset for help on using the changeset viewer.