mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-23 23:28:49 +08:00
No need to disable help screen
This commit is contained in:
parent
10143cf48f
commit
2227e8ca21
6 changed files with 2 additions and 10 deletions
|
@ -13,7 +13,6 @@ export const Capa = {
|
|||
AttachmentsActions: 'ATTACHMENTS_ACTIONS',
|
||||
DangerousActions: 'DANGEROUS_ACTIONS',
|
||||
Settings: 'SETTINGS',
|
||||
Help: 'HELP',
|
||||
Themes: 'THEMES',
|
||||
UserBackground: 'USER_BACKGROUND',
|
||||
Sieve: 'SIEVE',
|
||||
|
|
|
@ -22,7 +22,6 @@ export class AbstractSystemDropDownUserView extends AbstractViewRight {
|
|||
|
||||
this.allowAccounts = Settings.capa(Capa.AdditionalAccounts);
|
||||
this.allowSettings = Settings.capa(Capa.Settings);
|
||||
this.allowHelp = Settings.capa(Capa.Help);
|
||||
|
||||
this.accountEmail = AccountUserStore.email;
|
||||
|
||||
|
@ -63,7 +62,7 @@ export class AbstractSystemDropDownUserView extends AbstractViewRight {
|
|||
}
|
||||
|
||||
settingsHelp() {
|
||||
this.allowHelp && showScreenPopup(KeyboardShortcutsHelpPopupView);
|
||||
showScreenPopup(KeyboardShortcutsHelpPopupView);
|
||||
}
|
||||
|
||||
addAccountClick() {
|
||||
|
|
|
@ -1941,10 +1941,6 @@ class Actions
|
|||
}
|
||||
}
|
||||
|
||||
if ($oConfig->Get('capa', 'help', true)) {
|
||||
$aResult[] = Enumerations\Capa::HELP;
|
||||
}
|
||||
|
||||
if ($oConfig->Get('capa', 'attachments_actions', false)) {
|
||||
$aResult[] = Enumerations\Capa::ATTACHMENTS_ACTIONS;
|
||||
}
|
||||
|
|
|
@ -189,7 +189,6 @@ class Application extends \RainLoop\Config\AbstractConfig
|
|||
'contacts' => array(true),
|
||||
'settings' => array(true),
|
||||
'quota' => array(true),
|
||||
'help' => array(true),
|
||||
'search' => array(true),
|
||||
'search_adv' => array(true),
|
||||
'dangerous_actions' => array(true),
|
||||
|
|
|
@ -17,7 +17,6 @@ class Capa
|
|||
const SEARCH_ADV = 'SEARCH_ADV';
|
||||
const SETTINGS = 'SETTINGS';
|
||||
const QUOTA = 'QUOTA';
|
||||
const HELP = 'HELP';
|
||||
const TEMPLATES = 'TEMPLATES';
|
||||
const MESSAGE_ACTIONS = 'MESSAGE_ACTIONS';
|
||||
const ATTACHMENTS_ACTIONS = 'ATTACHMENTS_ACTIONS';
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<span data-i18n="TOP_TOOLBAR/BUTTON_SETTINGS"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="e-item" role="presentation" data-bind="visible: allowHelp">
|
||||
<li class="e-item" role="presentation">
|
||||
<a class="e-link menuitem" href="#" tabindex="-1" data-bind="click: settingsHelp">
|
||||
<i class="icon-help"></i>
|
||||
<span data-i18n="TOP_TOOLBAR/BUTTON_HELP"></span>
|
||||
|
|
Loading…
Reference in a new issue