mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Don't error if ckeditor adapter is missing, just fall back to text
This commit is contained in:
parent
d361206090
commit
0c017a4b35
@ -91,11 +91,14 @@ var et2_htmlarea = et2_inputWidget.extend({
|
||||
{
|
||||
CKEDITOR.instances[this.id].destroy();
|
||||
}
|
||||
this.htmlNode.ckeditor(function() {
|
||||
// If value is set, pass it in here.
|
||||
this.setData(self.value);
|
||||
delete self.value;
|
||||
},this.ck_props);
|
||||
if(this.htmlNode.ckeditor)
|
||||
{
|
||||
this.htmlNode.ckeditor(function() {
|
||||
// If value is set, pass it in here.
|
||||
this.setData(self.value);
|
||||
delete self.value;
|
||||
},this.ck_props);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user