Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Mon, 8 Jun 2015 06:15:16 +0000 (14:15 +0800)
committerEdward <edward@roojs.com>
Mon, 8 Jun 2015 06:15:16 +0000 (14:15 +0800)
Roo/form/HtmlEditor.js

index 2ae6eaa..1f6f08a 100644 (file)
@@ -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;
                     }