add test for dialog using array of ButtonOptions

This commit is contained in:
error
2015-09-11 13:28:58 -05:00
parent 72e519f0ab
commit d03f6e213f
+1
View File
@@ -1438,6 +1438,7 @@ function test_dialog() {
});
$(".selector").dialog({ autoOpen: false });
$(".selector").dialog({ buttons: { Ok: function () { $(this).dialog("close"); } } });
$(".selector").dialog({ buttons: [ { text: "Ok", click: function () { $(this).dialog("close"); } } ] } );
$(".selector").dialog({ closeOnEscape: false });
$(".selector").dialog({ closeText: "hide" });
$(".selector").dialog({ dialogClass: "alert" });