diff --git a/src/js/filemanager.js b/src/js/filemanager.js index 964ce01ca..7f866f5a8 100644 --- a/src/js/filemanager.js +++ b/src/js/filemanager.js @@ -65,7 +65,7 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio $scope.status = null; $scope.busy = true; $scope.client = Client; - $scope.cwd = '/'; + $scope.cwd = ''; $scope.cwdParts = []; $scope.appId = search.appId; $scope.app = null; @@ -563,7 +563,7 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio // now mark the Client to be ready Client.setReady(); - $scope.refresh(); + $scope.changeDirectory(window.location.hash.slice(1)); $scope.initialized = true; });