Roo/HtmlEditorCore.js
authorEdward <edward@roojs.com>
Fri, 19 Jun 2015 08:08:11 +0000 (16:08 +0800)
committerEdward <edward@roojs.com>
Fri, 19 Jun 2015 08:08:11 +0000 (16:08 +0800)
Roo/form/HtmlEditor.js

Roo/HtmlEditorCore.js
Roo/form/HtmlEditor.js

index 1858215..ad10389 100644 (file)
@@ -1448,13 +1448,13 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         }, this);
     },
     
-    setStylesheets : function(stylesheet)
+    setStylesheets : function(href)
     {
         Roo.get(this.iframe.contentDocument.head).createChild({
             tag : 'link',
             rel : 'stylesheet',
             type : 'text/css',
-            href : stylesheet
+            href : href
         });
     }
     
index 4c88371..5a76af5 100644 (file)
@@ -562,9 +562,9 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
         this.editorcore.pushValue();
     },
     
-    setStylesheets : function(stylesheet)
+    setStylesheets : function(href)
     {
-        this.editorcore.setStylesheets(stylesheet);
+        this.editorcore.setStylesheets(href);
     }