diff --git a/ui/widgets/controlgroup.js b/ui/widgets/controlgroup.js index 071aef658b4..a4ea251a15e 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