Ox.*List do not share updateCallbacks with Ox.List, Ox.clone(self) is passed for event handler

This commit is contained in:
j 2012-06-26 15:44:22 +00:00
parent 544aa77223
commit 75fe62730c
4 changed files with 4 additions and 4 deletions

View file

@ -99,7 +99,7 @@ Ox.IconList = function(options, self) {
sort: self.options.sort,
type: 'icon',
unique: self.options.unique
}, Ox.clone(self)) // pass event handler
}, Ox.extend(Ox.clone(self), {updateCallbacks: []})) // pass event handler
.addClass('OxIconList Ox' + Ox.toTitleCase(self.options.orientation))
.bindEvent({
select: function() {

View file

@ -75,7 +75,7 @@ Ox.InfoList = function(options, self) {
sort: self.options.sort,
type: 'info',
unique: self.options.unique
}, Ox.clone(self))
}, Ox.extend(Ox.clone(self), {updateCallbacks: []})) // pass event handler
.addClass('OxInfoList')
.bindEvent({
select: function() {

View file

@ -241,7 +241,7 @@ Ox.TextList = function(options, self) {
sums: self.options.sums,
type: 'text',
unique: self.unique
}, Ox.clone(self)) // pass event handler
}, Ox.extend(Ox.clone(self), {updateCallbacks: []})) // pass event handler
.addClass('OxBody')
.css({
top: (self.options.columnsVisible ? 16 : 0) + 'px',

View file

@ -62,7 +62,7 @@ Ox.TreeList = function(options, self) {
max: self.options.max,
min: self.options.min,
unique: 'id'
}, Ox.clone(self))
}, Ox.extend(Ox.clone(self), {updateCallbacks: []})) // pass event handler
.addClass('OxTextList OxTreeList')
.css({
width: self.options.width + 'px',