diff options
author | Scott González <scott.gonzalez@gmail.com> | 2016-07-11 11:32:39 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-07-13 12:10:41 -0400 |
commit | f67f9293ae962dc814e66ac110b4f82404d14f69 (patch) | |
tree | e55d9f43aac0d5bbd4737a7a365b1c6d872034fd | |
parent | 55cd9488ccd897bb9b75450852c100d13cf0df02 (diff) | |
download | jquery-ui-f67f9293ae962dc814e66ac110b4f82404d14f69.tar.gz jquery-ui-f67f9293ae962dc814e66ac110b4f82404d14f69.zip |
Controlgroup: Handle child elements that don't have options defined
Closes gh-1719
-rw-r--r-- | ui/widgets/controlgroup.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/widgets/controlgroup.js b/ui/widgets/controlgroup.js index 071aef658..a4ea251a1 100644 --- a/ui/widgets/controlgroup.js +++ b/ui/widgets/controlgroup.js @@ -109,6 +109,8 @@ return $.widget( "ui.controlgroup", { // first / last elements until all enhancments are done. if ( that[ "_" + widget + "Options" ] ) { options = that[ "_" + widget + "Options" ]( "middle" ); + } else { + options = { classes: {} }; } // Find instances of this widget inside controlgroup and init them |