Remove optimization to not reload filelist on editor save

This commit is contained in:
Johannes Zellner
2022-09-29 18:36:33 +02:00
parent 6cce4dc19b
commit 3914e5be6d
+1 -2
View File
@@ -650,8 +650,7 @@ app.controller('FileManagerController', ['$scope', '$translate', '$timeout', 'Cl
Client.filesUpload($scope.backendId, $scope.backendType, filePath, file, true, function () {}, function (error) {
if (error) return Client.error(error);
// update size immediately for the list view to avoid reloading the whole list
$scope.textEditor.entry.size = file.size;
$scope.refresh();
$timeout(function () {
$scope.textEditor.unsaved = false;