Hey @lBeJIuk, the passed in parameters do match from what I can see. If we go by the article that you yourself linked, we can see that the parameters seem to match:
webix.attachEvent("onBeforeAjax",
function(mode, url, data, request, headers, files, promise){
// in the case of uploader promise is not passed in = undefined
// in the case of any other AJAX request files (formData) = null
}
);
This is different simply because in the case of uploader we are actually sending the data (files argument = formData), whereas in the other cases we are not.
You are correct, this is the intended behaviour, as the file uploading process isn’t the same as sending a standart webix.ajax request and doesn’t use the promise API, which is why it is not being sent.
Is there any particular reason why this is an issue in your case? As far as I’m aware, you can make a use of the uploader events and cover most of the use cases.
Or, perhaps, you want this to be reflected somewhere in the documentation, and you were pointing out the inconsistency?