diff --git a/admin/js/app.js b/admin/js/app.js index 1038772d09..4483ac60c2 100644 --- a/admin/js/app.js +++ b/admin/js/app.js @@ -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]); }, /**