Frontend: remove javascript console.log statements
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -52,14 +52,11 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo
|
||||
if (BoardService.isArchived() || CardService.getCurrent().archived) {
|
||||
return false;
|
||||
}
|
||||
var node = $event.target.nodeName;
|
||||
if ($scope.card.archived || !$scope.boardservice.canEdit()) {
|
||||
console.log(node);
|
||||
} else {
|
||||
console.log("edit");
|
||||
$scope.status.cardEditDescription = true;
|
||||
return false;
|
||||
}
|
||||
console.log($scope.status.canEditDescription);
|
||||
$scope.status.cardEditDescription = true;
|
||||
return true;
|
||||
};
|
||||
// handle rename to update information on the board as well
|
||||
$scope.cardRename = function (card) {
|
||||
|
||||
@@ -45,7 +45,6 @@ app.factory('BoardService', function(ApiService, $http, $q){
|
||||
var _id = id;
|
||||
$http.post(this.baseUrl + '/' + id + '/deleteUndo').then(function (response) {
|
||||
self.data[_id].deletedAt = 0;
|
||||
console.log(self.data[_id]);
|
||||
deferred.resolve(response.data);
|
||||
}, function (error) {
|
||||
deferred.reject('Deleting ' + self.endpoint + ' failed');
|
||||
|
||||
Reference in New Issue
Block a user