Make filemanager reload pickup the directory from hash

This commit is contained in:
Johannes Zellner
2020-07-22 21:41:32 +02:00
parent 77300d6858
commit cb14592705

View File

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