projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfffe1b
)
Roo/DomTemplate.js
author
Alan Knowles
<alan@roojs.com>
Wed, 6 Feb 2013 05:57:00 +0000
(13:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 6 Feb 2013 05:57:00 +0000
(13:57 +0800)
Roo/DomTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/DomTemplate.js
b/Roo/DomTemplate.js
index
edc2aee
..
c8bf3c4
100644
(file)
--- a/
Roo/DomTemplate.js
+++ b/
Roo/DomTemplate.js
@@
-102,16
+102,17
@@
Roo.extend(Roo.DomTemplate, Roo.Template, {
var doc = false;
try {
doc = document.implementation.createHTMLDocument("");
+ doc.documentElement.innerHTML = this.html ;
} catch (e) {
// old IE...
doc = new ActiveXObject('htmlfile');
doc.open();
- doc.write(
''
);
+ doc.write(
this.html
);
doc.close();
}
//doc.documentElement.innerHTML = htmlBody
var div = doc.documentElement;
- div.innerHTML = this.html ;
+
this.tpls = [];
var _t = this;