projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15e5b96
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 08:49:53 +0000
(16:49 +0800)
committer
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 08:49:53 +0000
(16:49 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
799d8bc
..
2969d7c
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-364,16
+364,17
@@
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:
this.cleanStyles[i]
,
+ html:
style
,
handler: function(a,b) {
Roo.log('style');
- Roo.log(
this.cleanStyles[i]
)
+ Roo.log(
style
)
var c = Roo.get(editor.doc.body);
var nodes = [];
c.select('[style]').each(function(s) {
- s.dom.style.removeProperty(
this.cleanStyles[i]
);
+ s.dom.style.removeProperty(
style
);
});
},