forked from extern/egroupware
When loading something into admin, accept & show string data even though it's not valid
This commit is contained in:
parent
9cf5ab29a1
commit
14fbd7fcd5
@ -308,7 +308,7 @@ app.classes.admin = AppJS.extend(
|
|||||||
if(!_data || _data.type != undefined) return;
|
if(!_data || _data.type != undefined) return;
|
||||||
|
|
||||||
// Insert the content, etemplate will load into it
|
// Insert the content, etemplate will load into it
|
||||||
jQuery(this.ajax_target.node).append(_data[0]);
|
jQuery(this.ajax_target.node).append(typeof _data === 'string' ? _data : _data[0]);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user