projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a182349
)
Roo/form/HtmlEditor.js
author
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:29:03 +0000
(14:29 +0800)
committer
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:29:03 +0000
(14:29 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
01dafc6
..
c652580
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-263,11
+263,11
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
e.preventDefault();
Roo.log('TAB');
+ var value = this.getValue();
var start = this.el.dom.selectionStart;
- var end =
this.getValue()
.length;
+ var end =
value
.length;
- Roo.log(start);
- Roo.log(end);
+ this.setValue()
},