projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ea9552
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:32:00 +0000
(16:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:32:00 +0000
(16:32 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
77b5a98
..
4eca2f2
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-551,8
+551,9
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
}));
}
-
- var tbops = Roo.form.HtmlEditor.ToolbarContext.options;
+
+ var tbc = Roo.form.HtmlEditor.ToolbarContext;
+ var tbops = tbc.options;
for (var i in tlist) {
@@
-570,7
+571,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
if (opts) {
// opts == pulldown..
tb.addField( new Roo.form.ComboBox({
- store: new Roo.data.SimpleStore({
+ store:
typeof(tbc.stores[i]) != 'undefined' ? tbc.stores[i] :
new Roo.data.SimpleStore({
id : 'val',
fields: ['val', 'display'],
data : opts