1
0
Fork 0
forked from 0x2620/oxjs

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
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() {