mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +03:00
Removed unnecessary setting
This commit is contained in:
parent
4283395624
commit
b0134cee59
5 changed files with 4 additions and 8 deletions
|
|
@ -15,7 +15,6 @@ function PopupsComposeViewModel()
|
||||||
this.sReferences = '';
|
this.sReferences = '';
|
||||||
|
|
||||||
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
|
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
|
||||||
this.bAllowCtrlS = !!RL.settingsGet('AllowCtrlSOnCompose');
|
|
||||||
|
|
||||||
var
|
var
|
||||||
self = this,
|
self = this,
|
||||||
|
|
@ -929,7 +928,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
||||||
|
|
||||||
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
||||||
{
|
{
|
||||||
if (self.bAllowCtrlS && oEvent.ctrlKey && !oEvent.shiftKey && !oEvent.altKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
if (oEvent.ctrlKey && !oEvent.shiftKey && !oEvent.altKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
||||||
{
|
{
|
||||||
self.saveCommand();
|
self.saveCommand();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
|
|
|
||||||
|
|
@ -940,7 +940,6 @@ class Actions
|
||||||
'CustomLogoutLink' => $oConfig->Get('labs', 'custom_logout_link', ''),
|
'CustomLogoutLink' => $oConfig->Get('labs', 'custom_logout_link', ''),
|
||||||
'AllowAdditionalAccounts' => (bool) $oConfig->Get('webmail', 'allow_additional_accounts', true),
|
'AllowAdditionalAccounts' => (bool) $oConfig->Get('webmail', 'allow_additional_accounts', true),
|
||||||
'AllowIdentities' => (bool) $oConfig->Get('webmail', 'allow_identities', true),
|
'AllowIdentities' => (bool) $oConfig->Get('webmail', 'allow_identities', true),
|
||||||
'AllowCtrlSOnCompose' => (bool) $oConfig->Get('labs', 'allow_ctrl_s_on_compose', true),
|
|
||||||
'DetermineUserLanguage' => (bool) $oConfig->Get('labs', 'determine_user_language', false),
|
'DetermineUserLanguage' => (bool) $oConfig->Get('labs', 'determine_user_language', false),
|
||||||
'AllowPrefetch' => (bool) $oConfig->Get('labs', 'allow_prefetch', true),
|
'AllowPrefetch' => (bool) $oConfig->Get('labs', 'allow_prefetch', true),
|
||||||
'AllowCustomLogin' => (bool) $oConfig->Get('login', 'allow_custom_login', false),
|
'AllowCustomLogin' => (bool) $oConfig->Get('login', 'allow_custom_login', false),
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,6 @@ Enables caching in the system'),
|
||||||
'date_from_headers' => array(false),
|
'date_from_headers' => array(false),
|
||||||
'autocreate_system_folders' => array(true),
|
'autocreate_system_folders' => array(true),
|
||||||
'allow_message_append' => array(false),
|
'allow_message_append' => array(false),
|
||||||
'allow_ctrl_s_on_compose' => array(true),
|
|
||||||
'determine_user_language' => array(true),
|
'determine_user_language' => array(true),
|
||||||
'disable_iconv_if_mbstring_supported' => array(false),
|
'disable_iconv_if_mbstring_supported' => array(false),
|
||||||
'login_fault_delay' => array(1),
|
'login_fault_delay' => array(1),
|
||||||
|
|
|
||||||
|
|
@ -7926,7 +7926,6 @@ function PopupsComposeViewModel()
|
||||||
this.sReferences = '';
|
this.sReferences = '';
|
||||||
|
|
||||||
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
|
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
|
||||||
this.bAllowCtrlS = !!RL.settingsGet('AllowCtrlSOnCompose');
|
|
||||||
|
|
||||||
var
|
var
|
||||||
self = this,
|
self = this,
|
||||||
|
|
@ -8840,7 +8839,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
||||||
|
|
||||||
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
||||||
{
|
{
|
||||||
if (self.bAllowCtrlS && oEvent.ctrlKey && !oEvent.shiftKey && !oEvent.altKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
if (oEvent.ctrlKey && !oEvent.shiftKey && !oEvent.altKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
||||||
{
|
{
|
||||||
self.saveCommand();
|
self.saveCommand();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
|
|
|
||||||
4
rainloop/v/0.0.0/static/js/app.min.js
vendored
4
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue