Changeset 5505
- Timestamp:
- 02/13/12 11:28:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/js/foldertree.js
r5503 r5505 80 80 // MUDANÇA DE PASTAS! 81 81 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') ) 83 83 return; 84 if( target.parent().find(".new_folder").length) 85 return; 86 84 87 if( !target.attr('id') ) 85 88 target = target.parent(); … … 138 141 }, 139 142 drop : function(event, ui){ 140 $(this). css("border", "");143 $(this).removeClass("folder-over"); 141 144 if($(this).parent().attr('id') == undefined){ 142 145 var folder_to = 'INBOX'; … … 199 202 200 203 if($('[id="'+teste+'"]').length){ 201 return alert(get_lang("Can not move this folder to this location, because the uihas 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")); 202 205 } 203 206
Note: See TracChangeset
for help on using the changeset viewer.