X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-core-debug.js;h=9fe5f9630bd2e80440153cd4d6e783d43cfcc5fe;hp=2329b66b7b4a04214c7cca744e83293626a0801b;hb=5b1a708cf006e24f8f6eb81a4e9723dad77c31cd;hpb=c4ec853f8b86740a021ea3e6669f2d903878a229 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 2329b66b7b..9fe5f9630b 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -6074,11 +6074,9 @@ Roo.util.Observable.releaseCapture = function(o){ 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; @@ -13304,6 +13302,9 @@ mc.add(otherEl); * @return {Object} The item associated with the passed key. */ item : function(key){ + if (key === 'length') { + return null; + } var item = typeof this.map[key] != "undefined" ? this.map[key] : this.items[key]; return typeof item != 'function' || this.allowFunctions ? item : null; // for prototype! }, @@ -15438,7 +15439,7 @@ Roo.extend(Roo.Component, Roo.util.Observable, { /** * @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",