projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f898f71
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 04:56:59 +0000
(12:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 04:56:59 +0000
(12: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
a71831c
..
1b7fde4
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-371,6
+371,11
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
// update attributes
if (this.tb.fields) {
this.tb.fields.each(function(e) {
+ if (e.attrname) {
+ //code
+ }
+
+
e.setValue(sel.getAttribute(e.attrname));
});
}
@@
-539,6
+544,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
}),
name : '-roo-edit-' + i,
attrname : i,
+ stylename : item.style ? item.style : false,
displayField:'val',
typeAhead: false,
mode: 'local',