Roo/form/ComboBoxArray.js
[roojs1] / Roo / HtmlEditorCore.js
index c34d44b..2609a0c 100644 (file)
@@ -1062,15 +1062,15 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             
         }
         
+        var cwhite = this.cwhite;
+        var cblack = this.cblack;
+            
         function cleanStyle(n,v)
         {
             if (v.match(/expression/)) { //XSS?? should we even bother..
                 node.removeAttribute(n);
                 return;
             }
-            var cwhite = this.cwhite;
-            var cblack = this.cblack;
-            
             
             var parts = v.split(/;/);
             var clean = [];
@@ -1110,7 +1110,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             
         }
         
-        Roo.log(this);
+        
         for (var i = node.attributes.length-1; i > -1 ; i--) {
             var a = node.attributes[i];
             //console.log(a);