No need to disable help screen

This commit is contained in:
djmaze 2021-09-17 14:37:18 +02:00
parent 10143cf48f
commit 2227e8ca21
6 changed files with 2 additions and 10 deletions

View file

@ -13,7 +13,6 @@ export const Capa = {
AttachmentsActions: 'ATTACHMENTS_ACTIONS',
DangerousActions: 'DANGEROUS_ACTIONS',
Settings: 'SETTINGS',
Help: 'HELP',
Themes: 'THEMES',
UserBackground: 'USER_BACKGROUND',
Sieve: 'SIEVE',

View file

@ -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() {

View file

@ -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;
}

View file

@ -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),

View file

@ -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';

View file

@ -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>