From 63ec92038cb89bcc776c135ec0860424d95feb0d Mon Sep 17 00:00:00 2001 From: Athou Date: Mon, 3 Mar 2014 12:03:42 +0100 Subject: [PATCH] fix tagging --- src/main/webapp/js/directives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }