var ls = this.listeners, scope, len = ls.length;
if(len > 0){
this.firing = true;
-
+ var args = Array.prototype.slice.call(arguments, 0);
for(var i = 0; i < len; i++){
- var args = Array.prototype.slice.call(arguments, 0);
var l = ls[i];
- args.push(l.options);
if(l.fireFn.apply(l.scope||this.obj||window, args) === false){
this.firing = false;
return false;
left: (i * lw ) + 'px',
display : i > 0 ? 'none' : 'block'
});
- view.on('selectionchange', this.onSelectChange, this, {list : i });
- view.on('dblclick', this.onDoubleClick, this, {list : i });
+ view.on('selectionchange', this.onSelectChange.createDelegate(this, {list : i }, true));
+ view.on('dblclick', this.onDoubleClick.createDelegate(this, {list : i }, true));
//view.on('click', this.onViewClick, this, { list : i });
store.on('beforeload', this.onBeforeLoad, this);