mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 18:38:29 +02:00
Etemplate: Catch errors when destroying editor so we can see what's going on, and not break
This commit is contained in:
@ -469,7 +469,14 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
||||
{
|
||||
if (this.editor)
|
||||
{
|
||||
this.editor.destroy();
|
||||
try
|
||||
{
|
||||
this.editor.destroy();
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
egw().debug("Error destroying editor",e);
|
||||
}
|
||||
}
|
||||
this.editor = null;
|
||||
this.tinymce = null;
|
||||
|
Reference in New Issue
Block a user