projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aea12e
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Mar 2012 03:56:07 +0000
(11:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Mar 2012 03:56:07 +0000
(11:56 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
dddf36d
..
22a21a5
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-439,8
+439,13
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
tb.add(nm+ ": ");
+ var styles = [];
+ for(var i in this.styles) {
+ styles.push(i);
+ }
+
// styles...
- if (
this.styles || Roo.encode(this.styles) != '{}'
) {
+ if (
styles && styles.length
) {
// this needs a multi-select checkbox...
tb.addField( new Roo.form.ComboBox({