mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09: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 { trim, triggerAutocompleteInputChange } from 'Common/Utils';
|
||||
import { triggerAutocompleteInputChange } from 'Common/Utils';
|
||||
|
||||
import { StorageResultType, Notification, Magics } from 'Common/Enums';
|
||||
import { getNotification } from 'Common/Translator';
|
||||
|
|
@ -65,8 +65,8 @@ class LoginAdminView extends AbstractViewNext {
|
|||
this.loginError(false);
|
||||
this.passwordError(false);
|
||||
|
||||
this.loginError(!trim(this.login()));
|
||||
this.passwordError(!trim(this.password()));
|
||||
this.loginError(!this.login().trim());
|
||||
this.passwordError(!this.password().trim());
|
||||
|
||||
if (this.loginError() || this.passwordError()) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue