Make filemanager reload pickup the directory from hash
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user