[FIX] website

bzr revid: chm@openerp.com-20140414081451-0hzjgaewtcok6rod
This commit is contained in:
chm@openerp.com 2014-04-14 10:14:51 +02:00
parent a2f62bc341
commit 3f7e567acc
1 changed files with 1 additions and 1 deletions

View File

@ -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)