|
|
@ -22,6 +22,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, { |
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
|
BI.AllValueChooserPane.superclass._init.apply(this, arguments); |
|
|
|
BI.AllValueChooserPane.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, |
|
|
@ -34,11 +37,6 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, { |
|
|
|
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () { |
|
|
|
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.AllValueChooserPane.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.AllValueChooserPane.EVENT_CHANGE); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
if (BI.isNotNull(o.items)) { |
|
|
|
|
|
|
|
this.items = o.items; |
|
|
|
|
|
|
|
this.list.populate(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|