projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cfa771
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 09:13:14 +0000
(17:13 +0800)
committer
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 09:13:14 +0000
(17:13 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
e904f8a
..
b447ef4
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1457,6
+1457,10
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
var _this = this;
Roo.each(stylesheets, function(s) {
+ if(!s.length){
+ return;
+ }
+
Roo.get(_this.iframe.contentDocument.head).createChild({
tag : 'link',
rel : 'stylesheet',