mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +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
|
|
@ -3,7 +3,7 @@ import ko from 'ko';
|
|||
import { Notification } from 'Common/Enums';
|
||||
import { UNUSED_OPTION_VALUE } from 'Common/Consts';
|
||||
import { bMobileDevice } from 'Common/Globals';
|
||||
import { trim, defautOptionsAfterRender, folderListOptionsBuilder } from 'Common/Utils';
|
||||
import { defautOptionsAfterRender, folderListOptionsBuilder } from 'Common/Utils';
|
||||
|
||||
import FolderStore from 'Stores/User/Folder';
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ class FolderCreateView extends AbstractViewNext {
|
|||
}
|
||||
|
||||
simpleFolderNameValidation(sName) {
|
||||
return /^[^\\/]+$/g.test(trim(sName));
|
||||
return /^[^\\/]+$/g.test(sName.trim());
|
||||
}
|
||||
|
||||
clearPopup() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue