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];
if(l.fireFn.apply(l.scope||this.obj||window, args) === false){
this.firing = false;
/**
* @cfg {String} actionMode
* which property holds the element that used for hide() / show() / disable() / enable()
- * default is 'el'
+ * default is 'el' for forms you probably want to set this to fieldEl
*/
actionMode : "el",
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);