mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Converted *Ajax into *Fetch (because we use the Fetch API, not jQuery.ajax)
This commit is contained in:
parent
bb4d66d6d2
commit
29cf711a6a
52 changed files with 399 additions and 540 deletions
|
|
@ -101,8 +101,5 @@ dropdownVisibility.subscribe((value) => {
|
|||
* @type {*}
|
||||
*/
|
||||
export const data = {
|
||||
__APP__: null,
|
||||
iAjaxErrorCount: 0,
|
||||
iTokenErrorCount: 0,
|
||||
bUnload: false
|
||||
__APP__: null
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue