From d03f6e213f4532f0b28bea36d18ab2bbd03d09a4 Mon Sep 17 00:00:00 2001 From: error Date: Fri, 11 Sep 2015 13:28:58 -0500 Subject: [PATCH] add test for dialog using array of ButtonOptions --- jqueryui/jqueryui-tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts index 34f1f4b7e..bc84cb475 100644 --- a/jqueryui/jqueryui-tests.ts +++ b/jqueryui/jqueryui-tests.ts @@ -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" });