projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0935f73
)
Roo/form/HtmlEditor.js
author
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:15:16 +0000
(14:15 +0800)
committer
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 06:15:16 +0000
(14:15 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
2ae6eaa
..
1f6f08a
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-266,7
+266,6
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
"home" : function(e){
e.preventDefault();
- Roo.log('HOME');
var curr = this.el.dom.selectionStart;
var lines = this.getValue().split("\n");
@@
-275,7
+274,7
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
return;
}
var pos = 0;
- Roo.log(curr);
+
for (var i = 0; i < lines.length;i++) {
pos += lines[i].length;
@@
-284,7
+283,6
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
pos += 1;
}
- Roo.log(pos);
if(pos < curr){
continue;
}