Changeset 6910 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 07/30/12 16:17:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r6882 r6910 3682 3682 click : function() 3683 3683 { 3684 importEmails.dialog(" destroy");3684 importEmails.dialog("close").dialog("destroy"); 3685 3685 } 3686 3686 }, … … 3732 3732 } 3733 3733 } 3734 ] 3734 ], 3735 open: function(event, ui) 3736 { 3737 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 3738 }, 3739 close: function(event, ui) 3740 { 3741 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 3742 } 3735 3743 }); 3736 3744 … … 3941 3949 modal: true, 3942 3950 resizable : false, 3943 close: function(event) { 3944 event.stopPropagation(); 3945 }, 3951 open: function(event, ui) 3952 { 3953 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 3954 }, 3955 close: function(event, ui) 3956 { 3957 event.stopPropagation(); 3958 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 3959 }, 3946 3960 closeOnEscape: true 3947 3961 }); … … 4061 4075 $( this ).dialog( "close" ); 4062 4076 } 4063 } 4077 }, 4078 close:function(event, ui) 4079 { 4080 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 4081 }, 4082 open: function(event, ui) 4083 { 4084 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 4085 } 4064 4086 }); 4065 4087 $(".ui-dialog-buttonpane").find(".ui-button:last").children().html("Atualizar");
Note: See TracChangeset
for help on using the changeset viewer.