From 5a4889d57d6a32704ecac0ac2905a1063e3e796f Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Wed, 30 Apr 2014 01:20:36 +0200 Subject: [PATCH] Dont reselect inbox onLogin --- src/js/controller/navigation.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/controller/navigation.js b/src/js/controller/navigation.js index e60bd4c..6fc2c35 100644 --- a/src/js/controller/navigation.js +++ b/src/js/controller/navigation.js @@ -72,8 +72,10 @@ define(function(require) { } // select inbox if not yet selected - $scope.openFolder($scope.account.folders[0]); - $scope.$apply(); + if (!$scope.state.nav.currentFolder) { + $scope.openFolder($scope.account.folders[0]); + $scope.$apply(); + } }); //