mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
dialog: always convert value for closeText option to a string (fixes options-tests)
This commit is contained in:
parent
ba1f184deb
commit
7f2683aa81
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user