Remove sync keybaord shortcut

This commit is contained in:
Tankred Hase 2014-06-03 11:48:11 +02:00
parent 3a0d71b645
commit 088519f4f8
1 changed files with 1 additions and 7 deletions

View File

@ -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();