projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b690a4
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Thu, 15 Nov 2012 06:08:48 +0000
(14:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 15 Nov 2012 06:08:48 +0000
(14:08 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
1f0838b
..
4c8b404
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-576,14
+576,14
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
}
pn.removeChild(sn);
- var range =
this.
editor.createRange();
+ var range = editor.createRange();
range.setStart(stn,0);
range.setEnd(en,0); //????
//range.selectNode(sel);
- var selection =
this.
editor.getSelection();
+ var selection = editor.getSelection();
selection.removeAllRanges();
selection.addRange(range);