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
|
|
@ -2,7 +2,7 @@ import ko from 'ko';
|
|||
|
||||
import { settingsSaveHelperSimpleFunction } from 'Common/Utils';
|
||||
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
class BrandingAdminSettings {
|
||||
constructor() {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { settingsSaveHelperSimpleFunction, defautOptionsAfterRender } from 'Comm
|
|||
|
||||
import { SaveSettingsStep, StorageResultType } from 'Common/Enums';
|
||||
import { i18n } from 'Common/Translator';
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
import { command } from 'Knoin/Knoin';
|
||||
|
||||
const settingsGet = rl.settings.get;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { StorageResultType } from 'Common/Enums';
|
|||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
import DomainStore from 'Stores/Admin/Domain';
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/Admin';
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import { reload as translatorReload } from 'Common/Translator';
|
|||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import ThemeStore from 'Stores/Theme';
|
||||
import LanguageStore from 'Stores/Language';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { settingsSaveHelperSimpleFunction } from 'Common/Utils';
|
|||
|
||||
import AppStore from 'Stores/Admin/App';
|
||||
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
class LoginAdminSettings {
|
||||
constructor() {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { StorageResultType, Notification } from 'Common/Enums';
|
|||
import { getNotification } from 'Common/Translator';
|
||||
|
||||
import PackageStore from 'Stores/Admin/Package';
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/Admin';
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { showScreenPopup } from 'Knoin/Knoin';
|
|||
|
||||
import PluginStore from 'Stores/Admin/Plugin';
|
||||
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/Admin';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { StorageResultType } from 'Common/Enums';
|
|||
import AppAdminStore from 'Stores/Admin/App';
|
||||
import CapaAdminStore from 'Stores/Admin/Capa';
|
||||
|
||||
import Remote from 'Remote/Admin/Ajax';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { command } from 'Knoin/Knoin';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue