projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f65c581
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 08:51:18 +0000
(16:51 +0800)
committer
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 08:51:18 +0000
(16:51 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
2969d7c
..
433bc07
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-364,17
+364,16
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, {
}
};
for (var i =0; i < this.cleanStyles.length; i++) {
- var style = this.cleanStyles[i];
cmenu.menu.items.push({
- html:
style
,
+ html:
this.cleanStyles[i]
,
handler: function(a,b) {
Roo.log('style');
- Roo.log(
style
)
+ Roo.log(
this.cleanStyles[i]
)
var c = Roo.get(editor.doc.body);
var nodes = [];
c.select('[style]').each(function(s) {
- s.dom.style.removeProperty(
style
);
+ s.dom.style.removeProperty(
a.html
);
});
},