Ox.OptionGroup needs new
This commit is contained in:
parent
9c1023ca1f
commit
cb7a7b0f5d
4 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ Ox.ButtonGroup = function(options, self) {
|
|||
.addClass('OxButtonGroup');
|
||||
|
||||
if (self.options.selectable) {
|
||||
self.optionGroup = Ox.OptionGroup(
|
||||
self.optionGroup = new Ox.OptionGroup(
|
||||
self.options.buttons,
|
||||
self.options.min,
|
||||
self.options.max,
|
||||
|
|
|
@ -28,7 +28,7 @@ Ox.CheckboxGroup = function(options, self) {
|
|||
.options(options || {})
|
||||
.addClass('OxCheckboxGroup');
|
||||
|
||||
self.optionGroup = Ox.OptionGroup(
|
||||
self.optionGroup = new Ox.OptionGroup(
|
||||
self.options.checkboxes,
|
||||
self.options.min,
|
||||
self.options.max);
|
||||
|
|
|
@ -66,7 +66,7 @@ Ox.Select = function(options, self) {
|
|||
});
|
||||
|
||||
if (self.options.selectable) {
|
||||
self.optionGroup = Ox.OptionGroup(
|
||||
self.optionGroup = new Ox.OptionGroup(
|
||||
self.options.items,
|
||||
self.options.min,
|
||||
self.options.max
|
||||
|
|
|
@ -186,7 +186,7 @@ Ox.Menu = function(options, self) {
|
|||
group: item.group
|
||||
});
|
||||
});
|
||||
self.optionGroups[item.group] = Ox.OptionGroup(
|
||||
self.optionGroups[item.group] = new Ox.OptionGroup(
|
||||
items[i],
|
||||
'min' in item ? item.min : 1,
|
||||
'max' in item ? item.max : 1
|
||||
|
|
Loading…
Reference in a new issue