fix tagging

This commit is contained in:
Athou
2014-03-03 12:03:42 +01:00
parent 464ac36ddb
commit 63ec92038c

View File

@@ -69,7 +69,7 @@ module.directive('tags', function() {
if (newValue && oldValue && newValue != oldValue) { if (newValue && oldValue && newValue != oldValue) {
var data = { var data = {
entryId : $scope.entry.id, entryId : $scope.entry.id,
tags : newValue tags : newValue.split(',')
}; };
EntryService.tag(data); EntryService.tag(data);
} }