Remove shortcuts CTRL+S and CTRL+Enter in compose popup (close #97)

This commit is contained in:
RainLoop Team 2014-02-23 02:44:29 +04:00
parent a60c2014b0
commit fc735e7ea4
3 changed files with 5 additions and 5 deletions

View file

@ -921,7 +921,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
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();
bResult = false;
@ -931,7 +931,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
self.sendCommand();
bResult = false;
}
else if (Enums.EventKeyCode.Esc === oEvent.keyCode)
else */if (Enums.EventKeyCode.Esc === oEvent.keyCode)
{
self.tryToClosePopup();
bResult = false;

View file

@ -8484,7 +8484,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
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();
bResult = false;
@ -8494,7 +8494,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
self.sendCommand();
bResult = false;
}
else if (Enums.EventKeyCode.Esc === oEvent.keyCode)
else */if (Enums.EventKeyCode.Esc === oEvent.keyCode)
{
self.tryToClosePopup();
bResult = false;

File diff suppressed because one or more lines are too long