projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c6fa0a
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Wed, 31 Aug 2011 04:31:00 +0000
(12:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 31 Aug 2011 04:31:00 +0000
(12:31 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
037a00c
..
c04b2cc
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-303,8
+303,13
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
///console.log("show: " + tn);
this.tb = typeof(ty[tn]) != 'undefined' ? this.toolbars[tn] : this.toolbars['*'];
this.tb.el.show();
-
+ // update name
this.tb.items.first().el.innerHTML = tn + ': ';
+
+ // update styles
+
+ // update attributes
+
if (this.tb.fields) {
this.tb.fields.each(function(e) {
e.setValue(sel.getAttribute(e.name));