diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-08-15 16:56:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-08-15 16:56:49 -0400 |
commit | e628d0e4ba89eecee2c9b0d4cfb214523cad2ab4 (patch) | |
tree | 726f325928b1f3145cb143d91a109c087a701819 /tests/unit/dialog | |
parent | 263d07894493aafcdc6a565f9f9c079b4b8f5d80 (diff) | |
download | jquery-ui-e628d0e4ba89eecee2c9b0d4cfb214523cad2ab4.tar.gz jquery-ui-e628d0e4ba89eecee2c9b0d4cfb214523cad2ab4.zip |
Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: Capitalize 'close' for closeText option.
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r-- | tests/unit/dialog/dialog_common.js | 2 | ||||
-rw-r--r-- | tests/unit/dialog/dialog_options.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_common.js b/tests/unit/dialog/dialog_common.js index ea4c91767..fc10fabaa 100644 --- a/tests/unit/dialog/dialog_common.js +++ b/tests/unit/dialog/dialog_common.js @@ -4,7 +4,7 @@ TestHelpers.commonWidgetTests( "dialog", { autoOpen: true, buttons: [], closeOnEscape: true, - closeText: "close", + closeText: "Close", disabled: false, dialogClass: "", draggable: true, diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index 07c2d6860..66aeebde0 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/dialog_options.js @@ -209,7 +209,7 @@ test("closeText", function() { expect(3); var element = $("<div></div>").dialog(); - equal(element.dialog("widget").find(".ui-dialog-titlebar-close span").text(), "close", + equal(element.dialog("widget").find(".ui-dialog-titlebar-close span").text(), "Close", "default close text"); element.remove(); |