Removed unnecessary setting

This commit is contained in:
RainLoop Team 2014-04-06 14:51:54 +04:00
parent 4283395624
commit b0134cee59
5 changed files with 4 additions and 8 deletions

View file

@ -15,7 +15,6 @@ function PopupsComposeViewModel()
this.sReferences = '';
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
this.bAllowCtrlS = !!RL.settingsGet('AllowCtrlSOnCompose');
var
self = this,
@ -929,7 +928,7 @@ PopupsComposeViewModel.prototype.onBuild = function ()
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();
bResult = false;