Cleanup console.log()s
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user