Commit 0b0aab12 authored by Sean Hammond's avatar Sean Hammond

Fix updateDomainModel()

parent a3418f7c
...@@ -315,9 +315,9 @@ function AnnotationController( ...@@ -315,9 +315,9 @@ function AnnotationController(
var i; var i;
var tagTexts = []; var tagTexts = [];
for (i = 0; i < viewModel.tags.length; i++) { for (i = 0; i < viewModel.tags.length; i++) {
tagTexts.concat(viewModel.tags[i].text); tagTexts[tagTexts.length] = viewModel.tags[i].text;
} }
angular.extend(domainModel, viewModel, {tag: tagTexts}); angular.extend(domainModel, viewModel, {tags: tagTexts});
}; };
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment