mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-25 11:54:17 +00:00
(fix) hide the detail view when we have nothing to show
This commit is contained in:
committed by
Francis Lachapelle
parent
a5cf7659eb
commit
7e82ece74c
@@ -112,6 +112,7 @@
|
||||
// $scope functions
|
||||
$scope.select = function(folder) {
|
||||
$scope.editMode = false;
|
||||
$rootScope.card = null;
|
||||
$state.go('app.addressbook', {addressbookId: folder.id});
|
||||
};
|
||||
$scope.newAddressbook = function() {
|
||||
|
||||
@@ -196,6 +196,7 @@
|
||||
return;
|
||||
$rootScope.currentFolder = folder;
|
||||
$scope.editMode = false;
|
||||
$rootScope.message = null;
|
||||
$state.go('mail.account.mailbox', { accountId: account.id, mailboxId: encodeUriFilter(folder.path) });
|
||||
};
|
||||
$scope.saveFolder = function(folder) {
|
||||
|
||||
Reference in New Issue
Block a user