Changeset 7678


Ignore:
Timestamp:
12/19/12 09:02:41 (7 years ago)
Author:
eduardow
Message:

Ticket #3248 - Problema com a exclusão e edição de pastas.

File:
1 edited

Legend:

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

    r7675 r7678  
    418418                    if($(this).parents(".closed:first").find("span:first").hasClass("selected")) 
    419419                        return write_msg(get_lang("It's not possible rename this folder, because it is being used in the moment!")); 
    420                     if($(this).parents(".closed:first").find(".selected").length) 
     420                    if($(this).parents(".closed:first").find("span.selected").length) 
    421421                        return write_msg(get_lang("It's not possible rename this folder, because its subfolder is being used in the moment!"));  
    422422                    if(valid_tabs($(this).parents("li:first").find("li"), folder_id)) 
     
    488488                        return write_msg(get_lang("Delete/move subfolders first")); 
    489489                    } 
    490                     if($(this).parents(".closed:first").find(".selected").length){ 
     490                    if($(this).parents(".closed:first").find("span.selected").length){ 
    491491                        $(this).parents(".closed:first").find(".folder").removeClass("folders-loading"); 
    492492                        return write_msg(get_lang("It's not possible delete this folder, because it is being used in the moment!"));  
Note: See TracChangeset for help on using the changeset viewer.