diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index d6e3ae576..b9c28a623 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -161,8 +161,8 @@ if (window.jQuery === undefined) var selector = (options.update[partial]) ? options.update[partial] : partial if (jQuery.type(selector) == 'string' && selector.charAt(0) == '@') { $(selector.substring(1)).append(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]) - } else if(jQuery.type(selector) == 'string' && selector.charAt(0) == '^'){ - $(selector.substring(1)).prepend(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]); + } else if (jQuery.type(selector) == 'string' && selector.charAt(0) == '^') { + $(selector.substring(1)).prepend(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]) } else $(selector).html(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]) }