These events should pass the context, to be aligned with the others
This commit is contained in:
parent
37a0a8290e
commit
569fe2e468
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue