diff -r c7e0e3212b4c -r f2e4641681f6 client/annot-client/app/app.js --- a/client/annot-client/app/app.js Fri Apr 17 11:26:26 2015 +0200 +++ b/client/annot-client/app/app.js Fri Apr 17 11:28:31 2015 +0200 @@ -31,7 +31,7 @@ function getURLParameter(name) { return decodeURI( - (new RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] + (new RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[null,])[1] ); } @@ -214,6 +214,7 @@ var new_annot = { category: {code: code, label: label}, + keyword: freeLabel, text: freetext, color: hexc, user : $scope.username