mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +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
|
|
@ -1,12 +1,6 @@
|
|||
import { AbstractAjaxRemote } from 'Remote/AbstractAjax';
|
||||
|
||||
class RemoteAdminAjax extends AbstractAjaxRemote {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.oRequests = {};
|
||||
}
|
||||
import { AbstractFetchRemote } from 'Remote/AbstractFetch';
|
||||
|
||||
class RemoteAdminFetch extends AbstractFetchRemote {
|
||||
/**
|
||||
* @param {?Function} fCallback
|
||||
* @param {string} sLogin
|
||||
|
|
@ -271,4 +265,4 @@ class RemoteAdminAjax extends AbstractAjaxRemote {
|
|||
}
|
||||
}
|
||||
|
||||
export default new RemoteAdminAjax();
|
||||
export default new RemoteAdminFetch();
|
||||
Loading…
Add table
Add a link
Reference in a new issue