projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352f458
)
roojs-debug.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 20 May 2011 06:28:47 +0000
(14:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 20 May 2011 06:28:47 +0000
(14:28 +0800)
roojs-debug.js
patch
|
blob
|
history
diff --git
a/roojs-debug.js
b/roojs-debug.js
index
757c5f3
..
6cd85fc
100644
(file)
--- a/
roojs-debug.js
+++ b/
roojs-debug.js
@@
-38683,9
+38683,12
@@
Roo.form.HtmlEditor = Roo.extend(Roo.form.Field, {
if(v.length < 1){
v = ' ';
}
+
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);
}
}