These events should pass the context, to be aligned with the others

This commit is contained in:
Samuel Georges 2015-01-29 20:06:06 +11:00
parent 37a0a8290e
commit 569fe2e468

View File

@ -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) {