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