mirror of
https://github.com/moparisthebest/mail
synced 2024-12-23 07:48:48 -05:00
Remove sync keybaord shortcut
This commit is contained in:
parent
3a0d71b645
commit
088519f4f8
@ -44,7 +44,7 @@ define(function(require) {
|
||||
});
|
||||
outbox.count = count;
|
||||
$scope.$apply();
|
||||
|
||||
|
||||
emailDao.refreshFolder({
|
||||
folder: outbox
|
||||
}, $scope.onError);
|
||||
@ -168,12 +168,6 @@ define(function(require) {
|
||||
scope.state.writer.write(scope.state.mailList.selected);
|
||||
scope.$apply();
|
||||
|
||||
} else if (modifier && e.keyCode === 83 && scope.state.lightbox !== 'write' && scope.state.mailList.synchronize) {
|
||||
// s -> sync folder
|
||||
e.preventDefault();
|
||||
scope.state.mailList.synchronize();
|
||||
scope.$apply();
|
||||
|
||||
} else if (e.keyCode === 27 && scope.state.lightbox !== undefined) {
|
||||
// escape -> close current lightbox
|
||||
e.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user