projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #6384 - See if we can get checkbox to render on tests
[roojs1]
/
roojs-debug.js
diff --git
a/roojs-debug.js
b/roojs-debug.js
index
6f7bb7b
..
5602bf3
100644
(file)
--- a/
roojs-debug.js
+++ b/
roojs-debug.js
@@
-4667,7
+4667,7
@@
Roo.Template.prototype = {
* @return {String} The HTML fragment
*/
applyTemplate : function(values){
* @return {String} The HTML fragment
*/
applyTemplate : function(values){
- Roo.log(["applyTemplate", values]);
+
//
Roo.log(["applyTemplate", values]);
try {
if(this.compiled){
try {
if(this.compiled){
@@
-42545,12
+42545,12
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
if (typeof(v) == 'object' ) {
// then let's assume it's an array of objects..
Roo.each(v, function(l) {
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);
this.addItem(add);
}, this);