|
|
@ -98236,6 +98236,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
|
|
|
|
arguments[0] = this._createItems(items); |
|
|
|
this.button_group.populate.apply(this.button_group, arguments); |
|
|
|
this.button_group.populate.apply(this.button_group, arguments); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -111782,6 +111783,9 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { |
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
|
BI.ValueChooserPane.superclass._init.apply(this, arguments); |
|
|
|
BI.ValueChooserPane.superclass._init.apply(this, arguments); |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
if (BI.isNotNull(o.items)) { |
|
|
|
|
|
|
|
this.items = o.items; |
|
|
|
|
|
|
|
} |
|
|
|
this.list = BI.createWidget({ |
|
|
|
this.list = BI.createWidget({ |
|
|
|
type: "bi.multi_select_list", |
|
|
|
type: "bi.multi_select_list", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
@ -111792,9 +111796,6 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { |
|
|
|
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () { |
|
|
|
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE); |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (BI.isNotNull(o.items)) { |
|
|
|
|
|
|
|
this.populate(o.items); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|