projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa30c0
)
Roo/form/HtmlEditor.js
author
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:06:56 +0000
(14:06 +0800)
committer
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:06:56 +0000
(14:06 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
4a0e238
..
1b7f765
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-297,7
+297,7
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
e.preventDefault();
Roo.log('END');
- var curr = this.el.dom.selectionStart;
+ var curr = this.el.dom.selectionStart
- 1
;
var lines = this.getValue().split("\n");
if(!lines.length){