Merge pull request #186 from StefanRijnhart/8.0-ckeditor_fix_invalid_reference

[FIX] Now that we actually destroy editors, we need another check for…
pull/181/merge
Daniel Reis 2015-07-26 15:51:34 +01:00
commit 443dededa6
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ openerp.web_ckeditor4 = function(instance)
self_arguments=arguments; self_arguments=arguments;
setTimeout(function() setTimeout(function()
{ {
if(CKEDITOR.instances[self.editor.name]) if(self.editor)
{ {
fn.apply(self, self_arguments); fn.apply(self, self_arguments);
} }