Ignore:
Timestamp:
08/03/12 15:57:28 (12 years ago)
Author:
eduardow
Message:

Ticket #2987 - Inconsistencia excluindo com tela modal aberta - teclas de atalho.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/js/TreeS.js

    r5744 r6931  
    3232                                                                click: function() 
    3333                                                                { 
    34                                                                         $(this).dialog("destroy"); 
     34                                                                        $(this).dialog("close").dialog("destroy"); 
    3535                                                                        div.removeChild( div.firstChild ); 
    3636                                                                }, 
     
    4040                        beforeClose     : function() 
    4141                        {  
     42                                if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 
    4243                                $(this).dialog("destroy"); 
    4344                                div.removeChild( div.firstChild ); 
     
    5455                                else 
    5556                                { 
    56                                         if( Element('dftree_treeFolders') != null ) 
     57                                if( Element('dftree_treeFolders') != null ) 
    5758                                        { 
    5859                                                $(div).dialog("destroy"); 
     
    6566                                        } 
    6667                                } 
     68                                if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 
    6769                        } 
    6870                }); 
Note: See TracChangeset for help on using the changeset viewer.