Fix breadcrumbs in filemanager
This commit is contained in:
@@ -337,7 +337,7 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio
|
||||
location.hash = path;
|
||||
|
||||
$scope.cwd = path;
|
||||
$scope.cwdParts = path.split('/').filter(function (p) { return !!p; }).map(function (p, i) { return { name: p, path: path.split('/').slice(0, i+2).join('/') }; });
|
||||
$scope.cwdParts = path.split('/').filter(function (p) { return !!p; }).map(function (p, i) { return { name: p, path: path.split('/').slice(0, i+1).join('/') }; });
|
||||
$scope.refresh();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user