diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index bc3af58b..cc5a012d 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -69,7 +69,7 @@ module.directive('tags', function() { if (newValue && oldValue && newValue != oldValue) { var data = { entryId : $scope.entry.id, - tags : newValue + tags : newValue.split(',') }; EntryService.tag(data); }