projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7dfb7
)
examples/view/domtemplate.html
author
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Apr 2012 23:23:09 +0000
(07:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Apr 2012 23:23:09 +0000
(07:23 +0800)
examples/view/domtemplate.html
patch
|
blob
|
history
diff --git
a/examples/view/domtemplate.html
b/examples/view/domtemplate.html
index
f380411
..
a03c41e
100644
(file)
--- a/
examples/view/domtemplate.html
+++ b/
examples/view/domtemplate.html
@@
-21,8
+21,7
@@
Roo.onReady(function() {
html : html
});
Roo.log(tpl);
- tpl.append(Roo.get('body'),
- [
+ var data = [
{
ontable : 'mtrack_ticket',
changedate : new Date() ,
@@
-34,7
+33,9
@@
Roo.onReady(function() {
ontable : 'mtrack_repos',
changedate : new Date()
}
- ]
+ ];
+ Roo.each(data, function(r) { tpl.append(Roo.get('body'), r); });
+
);
});