From 1db54174d46af715abe86c1b5fff5998c19767be Mon Sep 17 00:00:00 2001 From: jendib Date: Thu, 5 Sep 2013 00:50:23 +0200 Subject: [PATCH] Remove TODO --- docs-web/src/main/webapp/app/docs/controller/Tag.js | 1 - 1 file changed, 1 deletion(-) diff --git a/docs-web/src/main/webapp/app/docs/controller/Tag.js b/docs-web/src/main/webapp/app/docs/controller/Tag.js index 32b73b94..dd6827e2 100644 --- a/docs-web/src/main/webapp/app/docs/controller/Tag.js +++ b/docs-web/src/main/webapp/app/docs/controller/Tag.js @@ -38,7 +38,6 @@ App.controller('Tag', function($scope, $dialog, $state, Tag, Restangular) { * Add a tag. */ $scope.addTag = function() { - // TODO Check if the tag don't already exists Restangular.one('tag').put($scope.tag).then(function(data) { $scope.tags.push({ id: data.id, name: $scope.tag.name, color: $scope.tag.color }); $scope.tag = { name: '', color: '#3a87ad' };