From efd9e5bb90f7cc4f2f697b7eb4f8dcaf95ec90ed Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Thu, 15 May 2014 14:21:40 +1000 Subject: [PATCH] Minor rollback: We dont actually need to pass the context to beforeUpdate() --- modules/system/assets/js/framework.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index 7b81af809..099e2d815 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -66,7 +66,7 @@ if (window.jQuery === undefined) /* * Halt here if beforeUpdate() or data-request-before-update returns false */ - if (this.options.beforeUpdate.apply(this, [context, data, textStatus, jqXHR]) === false) return + if (this.options.beforeUpdate.apply(this, [data, textStatus, jqXHR]) === false) return if (options.evalBeforeUpdate && eval('(function($el, context, data, textStatus, jqXHR) {'+options.evalBeforeUpdate+'}($el, context, data, textStatus, jqXHR))') === false) return /*