mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
parent
ca84bbb807
commit
5a5c6af2c6
10 changed files with 204 additions and 200 deletions
|
|
@ -16,6 +16,7 @@ function PopupsComposeViewModel()
|
|||
|
||||
this.bReloadFolder = false;
|
||||
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
|
||||
this.bAllowCtrlS = !!RL.settingsGet('AllowCtrlSOnCompose');
|
||||
|
||||
var
|
||||
self = this,
|
||||
|
|
@ -921,12 +922,12 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
|||
|
||||
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
||||
{
|
||||
/*if (oEvent.ctrlKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
||||
if (self.bAllowCtrlS && oEvent.ctrlKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
||||
{
|
||||
self.saveCommand();
|
||||
bResult = false;
|
||||
}
|
||||
else */if (oEvent.ctrlKey && Enums.EventKeyCode.Enter === oEvent.keyCode)
|
||||
else if (oEvent.ctrlKey && Enums.EventKeyCode.Enter === oEvent.keyCode)
|
||||
{
|
||||
self.sendCommand();
|
||||
bResult = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue