projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd1b3f6
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Fri, 13 Apr 2012 07:16:54 +0000
(15:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 13 Apr 2012 07:16:54 +0000
(15:16 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
42f8b33
..
cf6ceb2
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-345,9
+345,13
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
});
}
+ var styles = [];
+ for(var i in this.styles) {
+ styles.push(i);
+ }
// update styles
- if (
this.styles
) {
+ if (
styles.length
) {
var st = this.tb.fields.item(0);
st.store.removeAll();