mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Split Common/Utils.js
Because admin app doesn't need most of them
This commit is contained in:
parent
167e323c72
commit
1d6a636433
25 changed files with 592 additions and 620 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { pString, defautOptionsAfterRender } from 'Common/Utils';
|
||||
import { pString, defaultOptionsAfterRender } from 'Common/Utils';
|
||||
|
||||
import { KeyState } from 'Common/Enums';
|
||||
import { i18n } from 'Common/Translator';
|
||||
|
|
@ -93,10 +93,10 @@ class ComposeOpenPgpPopupView extends AbstractViewNext {
|
|||
|
||||
this.sDefaultKeyScope = KeyState.PopupComposeOpenPGP;
|
||||
|
||||
this.defautOptionsAfterRender = defautOptionsAfterRender;
|
||||
this.defaultOptionsAfterRender = defaultOptionsAfterRender;
|
||||
|
||||
this.addOptionClass = (domOption, item) => {
|
||||
this.defautOptionsAfterRender(domOption, item);
|
||||
this.defaultOptionsAfterRender(domOption, item);
|
||||
|
||||
if (item && undefined !== item.class && domOption) {
|
||||
domOption.classList.add(item.class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue