mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Added "[labs] allow_ctrl_enter_on_compose = false" setting (Closes #387)
This commit is contained in:
parent
e4b286e257
commit
453bcb969e
3 changed files with 10 additions and 5 deletions
|
|
@ -1063,10 +1063,13 @@
|
|||
return false;
|
||||
});
|
||||
|
||||
// key('ctrl+enter, command+enter', Enums.KeyState.Compose, function () {
|
||||
// self.sendCommand();
|
||||
// return false;
|
||||
// });
|
||||
if (!!Settings.settingsGet('AllowСtrlEnterOnCompose'))
|
||||
{
|
||||
key('ctrl+enter, command+enter', Enums.KeyState.Compose, function () {
|
||||
self.sendCommand();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
key('esc', Enums.KeyState.Compose, function () {
|
||||
if (self.modalVisibility())
|
||||
|
|
@ -1204,7 +1207,7 @@
|
|||
|
||||
window.gapi.load('auth', {'callback': function () {
|
||||
|
||||
var
|
||||
var
|
||||
oAuthToken = window.gapi.auth.getToken(),
|
||||
fResult = function (oAuthResult) {
|
||||
if (oAuthResult && !oAuthResult.error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue