Changeset 6931 for branches/2.4/expressoMail1_2/js/main.js
- Timestamp:
- 08/03/12 15:57:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/main.js
r6867 r6931 3652 3652 click : function() 3653 3653 { 3654 importEmails.dialog(" destroy");3654 importEmails.dialog("close").dialog("destroy"); 3655 3655 } 3656 3656 }, … … 3702 3702 } 3703 3703 } 3704 ] 3704 ], 3705 open: function(event, ui) 3706 { 3707 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 3708 }, 3709 close: function(event, ui) 3710 { 3711 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 3712 } 3705 3713 }); 3706 3714 … … 3915 3923 modal: true, 3916 3924 resizable : false, 3917 close: function(event) { 3918 event.stopPropagation(); 3919 }, 3925 open: function(event, ui) 3926 { 3927 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 3928 }, 3929 close: function(event, ui) 3930 { 3931 event.stopPropagation(); 3932 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 3933 }, 3920 3934 closeOnEscape: true 3921 3935 }); … … 4035 4049 $( this ).dialog( "close" ); 4036 4050 } 4037 } 4051 }, 4052 close:function(event, ui) 4053 { 4054 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 4055 }, 4056 open: function(event, ui) 4057 { 4058 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 4059 } 4038 4060 }); 4039 4061 $(".ui-dialog-buttonpane").find(".ui-button:last").children().html("Atualizar");
Note: See TracChangeset
for help on using the changeset viewer.