Cleanup console.log()s

This commit is contained in:
Johannes Zellner
2020-07-14 19:26:24 +02:00
parent 3d17a33c43
commit 240272f7ce

View File

@@ -192,10 +192,8 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio
if (entry.isDirectory) return;
Client.filesGet($scope.appId, filePath, true, function (error, result) {
Client.filesGet($scope.appId, filePath, true, function (error) {
if (error) return Client.error(error);
console.log('open', result);
});
};
@@ -316,8 +314,6 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio
if (error && error.statusCode === 409) return $scope.newDirectory.error = 'Already exists';
if (error) return Client.error(error);
console.log('create direcotory', result);
$scope.refresh();
$('#newDirectoryModal').modal('hide');
@@ -350,8 +346,6 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio
$scope.renameEntry.busy = false;
if (error) return Client.error(error);
console.log('rename', result);
$scope.refresh();
$('#renameEntryModal').modal('hide');
@@ -438,8 +432,6 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio
$scope.chownEntry.busy = false;
if (error) return Client.error(error);
console.log('chown', result);
$scope.refresh();
$('#chownEntryModal').modal('hide');
@@ -468,8 +460,6 @@ app.controller('FileManagerController', ['$scope', '$timeout', 'Client', functio
$scope.entryRemove.busy = false;
if (error) return Client.error(error);
console.log('remove', result);
$scope.refresh();
$('#entryRemoveModal').modal('hide');