From 569fe2e468519d4b9471da6c19c8c5015c956ad4 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Thu, 29 Jan 2015 20:06:06 +1100 Subject: [PATCH] These events should pass the context, to be aligned with the others --- modules/system/assets/js/framework.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index 7dfd3db97..664bcbf0c 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -268,8 +268,8 @@ if (window.jQuery === undefined) if (loading) loading.show() - $(window).trigger('ajaxBeforeSend') - $el.trigger('ajaxPromise') + $(window).trigger('ajaxBeforeSend', [context]) + $el.trigger('ajaxPromise', [context]) return $.ajax(requestOptions) .fail(function(jqXHR, textStatus, errorThrown){ if (!isRedirect) {