Ignore:
Timestamp:
07/30/12 16:17:19 (12 years ago)
Author:
cristiano
Message:

Ticket #2987 - Inconsistência excluindo com tela modal aberta - teclas de atalho

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/wfolders.js

    r5874 r6910  
    4848                                                                                        click   : function() 
    4949                                                                                        { 
    50                                                                                                 winSaveFile.dialog("destroy"); 
     50                                                                                                winSaveFile.dialog("close"),dialog("destroy"); 
    5151                                                                                        } 
    5252                                                                                 }, 
     
    8181                                                                                                } 
    8282 
    83                                                                                                 winSaveFile.dialog("destroy"); 
     83                                                                                                winSaveFile.dialog("close").dialog("destroy"); 
    8484                                                                                        } 
    8585                                                                                 } 
    86                                                                         ]                
     86                                                                        ], 
     87                                    close:function(event, ui)  
     88                                    { 
     89                                        if(typeof(shortcut) != 'undefined') shortcut.disabled = false;  
     90                                    }, 
     91                                    open: function(event, ui)  
     92                                    { 
     93                                        if(typeof(shortcut) != 'undefined') shortcut.disabled = true;  
     94                                    }            
    8795                                        });      
    8896                         
Note: See TracChangeset for help on using the changeset viewer.