roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 20 May 2011 06:28:47 +0000 (14:28 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 20 May 2011 06:28:47 +0000 (14:28 +0800)
roojs-debug.js

index 757c5f3..6cd85fc 100644 (file)
@@ -38683,9 +38683,12 @@ Roo.form.HtmlEditor = Roo.extend(Roo.form.Field, {
             if(v.length < 1){
                 v = '&#160;';
             }
+            
             if(this.fireEvent('beforepush', this, v) !== false){
-                (this.doc.body || this.doc.documentElement).innerHTML = v;
+                var d = (this.doc.body || this.doc.documentElement);
+                d.innerHTML = v;
                 this.cleanUpPaste();
+                this.el.dom.value = d.innerHTML;
                 this.fireEvent('push', this, v);
             }
         }