mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Remove shortcuts CTRL+S and CTRL+Enter in compose popup (close #97)
This commit is contained in:
parent
a60c2014b0
commit
fc735e7ea4
3 changed files with 5 additions and 5 deletions
|
|
@ -921,7 +921,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
||||||
|
|
||||||
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
||||||
{
|
{
|
||||||
if (oEvent.ctrlKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
/*if (oEvent.ctrlKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
||||||
{
|
{
|
||||||
self.saveCommand();
|
self.saveCommand();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
|
|
@ -931,7 +931,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
||||||
self.sendCommand();
|
self.sendCommand();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
}
|
}
|
||||||
else if (Enums.EventKeyCode.Esc === oEvent.keyCode)
|
else */if (Enums.EventKeyCode.Esc === oEvent.keyCode)
|
||||||
{
|
{
|
||||||
self.tryToClosePopup();
|
self.tryToClosePopup();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
|
|
|
||||||
|
|
@ -8484,7 +8484,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
||||||
|
|
||||||
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
if (oEvent && self.modalVisibility() && RL.data().useKeyboardShortcuts())
|
||||||
{
|
{
|
||||||
if (oEvent.ctrlKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
/*if (oEvent.ctrlKey && Enums.EventKeyCode.S === oEvent.keyCode)
|
||||||
{
|
{
|
||||||
self.saveCommand();
|
self.saveCommand();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
|
|
@ -8494,7 +8494,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
|
||||||
self.sendCommand();
|
self.sendCommand();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
}
|
}
|
||||||
else if (Enums.EventKeyCode.Esc === oEvent.keyCode)
|
else */if (Enums.EventKeyCode.Esc === oEvent.keyCode)
|
||||||
{
|
{
|
||||||
self.tryToClosePopup();
|
self.tryToClosePopup();
|
||||||
bResult = false;
|
bResult = false;
|
||||||
|
|
|
||||||
2
rainloop/v/0.0.0/static/js/app.min.js
vendored
2
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