projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c6751
)
examples/view/domtemplate.html
author
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Apr 2012 23:36:56 +0000
(07:36 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Apr 2012 23:36:56 +0000
(07:36 +0800)
examples/view/domtemplate.html
patch
|
blob
|
history
diff --git
a/examples/view/domtemplate.html
b/examples/view/domtemplate.html
index
21204e3
..
19ca010
100644
(file)
--- a/
examples/view/domtemplate.html
+++ b/
examples/view/domtemplate.html
@@
-37,7
+37,9
@@
Roo.onReady(function() {
Roo.each(data, function(r) { tpl.append(Roo.get('body'), r); });
Roo.get('template-show').appendChild(document.createTextNode(html));
- Roo.get('javascript-show').appendChild(document.createTextNode(html));
+ Roo.get('javascript-show').appendChild(document.createTextNode(
+ Roo.get('javascript-code').dom.innerHTML
+ ));
});