projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab38d16
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 09:13:35 +0000
(17:13 +0800)
committer
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 09:13:35 +0000
(17:13 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
1970a65
..
7890724
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-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],
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.
html
);
+ s.dom.style.removeProperty(a.
removename
);
});
},