diff options
Diffstat (limited to 'ui/ui.dialog.js')
-rw-r--r-- | ui/ui.dialog.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 7a373f977..6d7ca9ed5 100644 --- a/ui/ui.dialog.js +++ b/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 |