aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/widgets/controlgroup.js2
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