projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0190565
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 29 Aug 2011 07:12:01 +0000
(15:12 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 29 Aug 2011 07:12:01 +0000
(15:12 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
390f4c3
..
4e15165
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-337,9
+337,19
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, {
text: "Other;",
cls: 'x-edit-none',
menu : {
- items :
this.specialElements
+ items :
[]
}
};
+ for (var i =0; i < this.specialElements.length; i++) {
+ semenu.menu.items.push(
+ Roo.apply({
+ handler: function(a,b) {
+ editor.insertAtCursor(this.ihtml);
+ }
+ }, this.specialElements[i])
+ );
+
+ }
tb.add(semenu);