projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f62bc
)
[FIX] website
author
chm@openerp.com
<>
Mon, 14 Apr 2014 08:14:51 +0000
(10:14 +0200)
committer
chm@openerp.com
<>
Mon, 14 Apr 2014 08:14:51 +0000
(10:14 +0200)
bzr revid: chm@openerp.com-
20140414081451
-0hzjgaewtcok6rod
addons/website/static/src/js/website.editor.js
patch
|
blob
|
history
diff --git
a/addons/website/static/src/js/website.editor.js
b/addons/website/static/src/js/website.editor.js
index
365b8cf
..
c2e2ed4
100644
(file)
--- a/
addons/website/static/src/js/website.editor.js
+++ b/
addons/website/static/src/js/website.editor.js
@@
-544,7
+544,7
@@
observer.disconnect();
var editor = this.rte.editor;
- var root = editor.element.$;
+ var root = editor.element && editor.element.$;
editor.destroy();
// FIXME: select editables then filter by dirty?
var defs = this.rte.fetch_editables(root)