Fix bug in handleConfirmMessage override
This commit is contained in:
parent
6cd76e9c6d
commit
562f60730f
|
|
@ -294,13 +294,6 @@ if (window.jQuery === undefined)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Initiate request
|
||||
*/
|
||||
if (options.confirm && !requestOptions.handleConfirmMessage(options.confirm)) {
|
||||
return
|
||||
}
|
||||
|
||||
/*
|
||||
* Allow default business logic to be called from user functions
|
||||
*/
|
||||
|
|
@ -310,6 +303,13 @@ if (window.jQuery === undefined)
|
|||
requestOptions = $.extend(requestOptions, options)
|
||||
requestOptions.data = data.join('&')
|
||||
|
||||
/*
|
||||
* Initiate request
|
||||
*/
|
||||
if (options.confirm && !requestOptions.handleConfirmMessage(options.confirm)) {
|
||||
return
|
||||
}
|
||||
|
||||
if (loading) loading.show()
|
||||
$(window).trigger('ajaxBeforeSend', [context])
|
||||
$el.trigger('ajaxPromise', [context])
|
||||
|
|
|
|||
Loading…
Reference in New Issue