X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-core-debug.js;h=69645532ebb73b53227ad171199e90d6367d734e;hp=2329b66b7b4a04214c7cca744e83293626a0801b;hb=07830f57369f060d2684d2efc7e7bea00fe9e0e4;hpb=c4ec853f8b86740a021ea3e6669f2d903878a229 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 2329b66b7b..69645532eb 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -4667,7 +4667,7 @@ Roo.Template.prototype = { * @return {String} The HTML fragment */ applyTemplate : function(values){ - Roo.log(["applyTemplate", values]); + //Roo.log(["applyTemplate", values]); try { if(this.compiled){ @@ -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",