mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
When loading something into admin, accept & show string data even though it's not valid
This commit is contained in:
parent
5422873599
commit
bc27658dbd
@ -308,7 +308,7 @@ app.classes.admin = AppJS.extend(
|
||||
if(!_data || _data.type != undefined) return;
|
||||
|
||||
// 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