From: Alan Knowles Date: Mon, 24 Aug 2020 03:40:13 +0000 (+0800) Subject: remove debugging code X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4 remove debugging code --- diff --git a/Roo/Template.js b/Roo/Template.js index bd5e045033..4f8e30281a 100644 --- a/Roo/Template.js +++ b/Roo/Template.js @@ -68,7 +68,7 @@ Roo.Template.prototype = { * @return {String} The HTML fragment */ applyTemplate : function(values){ - Roo.log(["applyTemplate", values]); + //Roo.log(["applyTemplate", values]); try { if(this.compiled){ diff --git a/docs/src/Roo_form_ComboBoxArray.js.html b/docs/src/Roo_form_ComboBoxArray.js.html index be8109666a..3eaf9911e8 100644 --- a/docs/src/Roo_form_ComboBoxArray.js.html +++ b/docs/src/Roo_form_ComboBoxArray.js.html @@ -321,12 +321,12 @@ if (typeof(v) == 'object' ) { // then let's assume it's an array of objects.. Roo.each(v, function(l) { - var add = l; - if (typeof(l) == 'string') { - add = {}; - add[this.valueField] = k; - add[this.displayField] = k - } + var add = l; + if (typeof(l) == 'string') { + add = {}; + add[this.valueField] = l; + add[this.displayField] = l + } this.addItem(add); }, this);