filemanager: reset selection if directory has changed

This commit is contained in:
Johannes Zellner
2021-07-09 17:02:25 +02:00
parent a0d71bb8b0
commit e7053c2790

View File

@@ -144,6 +144,7 @@ app.controller('FileManagerController', ['$scope', '$translate', '$timeout', 'Cl
if (entry.isDirectory) {
$scope.cwd = path;
$scope.selected = [];
// refresh will set busy to false once done
$scope.refresh();