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

index 1294d5d..de50a2e 100644 (file)
@@ -278,7 +278,11 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                 
                 var f = value.substring(0, start).split("\t");
                 
-                Roo.log(f.pop().length);
+                if(f.pop().length != 0){
+                    return;
+                }
+                
+                Roo.log(f);
                 
                 
             },