mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Made dialog options extend events type, test should have had button callbacks within 'buttons' in 'jqueryui'.
This commit is contained in:
@@ -1425,12 +1425,13 @@ function test_dialog() {
|
||||
height: 300,
|
||||
width: 350,
|
||||
modal: true,
|
||||
buttons: {},
|
||||
Cancel: function () {
|
||||
$(this).dialog("close");
|
||||
},
|
||||
close: function () {
|
||||
var $el = $(this).dialog("destroy");
|
||||
buttons: {
|
||||
Cancel: function () {
|
||||
$(this).dialog("close");
|
||||
},
|
||||
close: function () {
|
||||
var $el = $(this).dialog("destroy");
|
||||
}
|
||||
}
|
||||
});
|
||||
$("#dialog-message").dialog({
|
||||
|
||||
Reference in New Issue
Block a user