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