Catch error from missing ckeditor stuff so it doesn't break everything else

This commit is contained in:
Nathan Gray 2013-03-26 15:54:18 +00:00
parent 61ef8de61e
commit c55e636f43

View File

@ -103,7 +103,15 @@ var et2_htmlarea = et2_inputWidget.extend({
},
destroy: function() {
try
{
this.htmlNode.ckeditorGet().destroy(true);
}
catch (e)
{
this.egw().debug("warn",e);
this.htmlNode = null;
}
},
set_value: function(_value) {
try {