Skip to content
Permalink
Browse files

dialog: always convert value for closeText option to a string (fixes …

…options-tests)
  • Loading branch information
jzaefferer committed Sep 15, 2009
1 parent ba1f184 commit 7f2683aa81fff39d2922ddbc1395a07ab68b39a2
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/ui.dialog.js
@@ -432,7 +432,8 @@ $.widget("ui.dialog", {
self._createButtons(value);
break;
case "closeText":
self.uiDialogTitlebarCloseText.text(value);
// convert whatever was passed in o a string, for text() to not throw up
self.uiDialogTitlebarCloseText.text("" + value);
break;
case "dialogClass":
uiDialog

0 comments on commit 7f2683a

Please sign in to comment.
You can’t perform that action at this time.