Roo/form/HtmlEditor/ToolbarStandard.js
authorEdward <edward@roojs.com>
Mon, 13 Jan 2014 09:14:18 +0000 (17:14 +0800)
committerEdward <edward@roojs.com>
Mon, 13 Jan 2014 09:14:18 +0000 (17:14 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index 7890724..8ebccbf 100644 (file)
@@ -363,13 +363,13 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
             };
             for (var i =0; i < this.cleanStyles.length; i++) {
                 cmenu.menu.items.push({
-                    removename : this.cleanStyles[i],
+                    actiontype : this.cleanStyles[i],
                     html: 'Remove ' + this.cleanStyles[i],
                     handler: function(a,b) {
                         Roo.log(a);
                         var c = Roo.get(editor.doc.body);
                         c.select('[style]').each(function(s) {
-                            s.dom.style.removeProperty(a.removename);
+                            s.dom.style.removeProperty(a.actiontype);
                         });
                         
                     },