Converted *Ajax into *Fetch (because we use the Fetch API, not jQuery.ajax)

This commit is contained in:
djmaze 2020-09-14 19:40:56 +02:00
parent bb4d66d6d2
commit 29cf711a6a
52 changed files with 399 additions and 540 deletions

View file

@ -101,8 +101,5 @@ dropdownVisibility.subscribe((value) => {
* @type {*}
*/
export const data = {
__APP__: null,
iAjaxErrorCount: 0,
iTokenErrorCount: 0,
bUnload: false
__APP__: null
};

View file

@ -156,14 +156,6 @@ export function change(email) {
return serverRequest('Change') + encodeURIComponent(email) + '/';
}
/**
* @param {string} add
* @returns {string}
*/
export function ajax(add) {
return serverRequest('Ajax') + add;
}
/**
* @param {string} requestHash
* @returns {string}