projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e782d6c
)
Roo/DomTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 10 Apr 2012 10:56:36 +0000
(18:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 10 Apr 2012 10:56:36 +0000
(18:56 +0800)
Roo/DomTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/DomTemplate.js
b/Roo/DomTemplate.js
index
b982e1c
..
b8c5e5a
100644
(file)
--- a/
Roo/DomTemplate.js
+++ b/
Roo/DomTemplate.js
@@
-161,7
+161,7
@@
Roo.extend(Roo.DomTemplate, Roo.Template, {
tpl.id = tpl.uid;
switch(tpl.attr) {
case 'for' :
- switch (
attr
.value) {
+ switch (
tpl
.value) {
case '.': tpl.forCall = new Function('values', 'parent', 'with(values){ return values; }'); break;
case '..': tpl.forCall= new Function('values', 'parent', 'with(values){ return parent; }'); break;
default: tpl.forCall= new Function('values', 'parent', 'with(values){ return '+tpl.value+'; }');