mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
$.proxy is deprecated
$.trim is deprecated
This commit is contained in:
parent
ae1b7610fd
commit
bbd9f49dcd
39 changed files with 153 additions and 173 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { settingsSaveHelperSimpleFunction, defautOptionsAfterRender, trim } from 'Common/Utils';
|
||||
import { settingsSaveHelperSimpleFunction, defautOptionsAfterRender } from 'Common/Utils';
|
||||
|
||||
import { SaveSettingsStep, StorageResultType, Magics } from 'Common/Enums';
|
||||
import { i18n } from 'Common/Translator';
|
||||
|
|
@ -163,25 +163,25 @@ class ContactsAdminSettings {
|
|||
|
||||
this.contactsType.subscribe((value) => {
|
||||
Remote.saveAdminConfig(f5, {
|
||||
'ContactsPdoType': trim(value)
|
||||
'ContactsPdoType': value.trim()
|
||||
});
|
||||
});
|
||||
|
||||
this.pdoDsn.subscribe((value) => {
|
||||
Remote.saveAdminConfig(f1, {
|
||||
'ContactsPdoDsn': trim(value)
|
||||
'ContactsPdoDsn': value.trim()
|
||||
});
|
||||
});
|
||||
|
||||
this.pdoUser.subscribe((value) => {
|
||||
Remote.saveAdminConfig(f3, {
|
||||
'ContactsPdoUser': trim(value)
|
||||
'ContactsPdoUser': value.trim()
|
||||
});
|
||||
});
|
||||
|
||||
this.pdoPassword.subscribe((value) => {
|
||||
Remote.saveAdminConfig(f4, {
|
||||
'ContactsPdoPassword': trim(value)
|
||||
'ContactsPdoPassword': value.trim()
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue