Merge branch 'master' of C:\Users\катя\IdeaProjects\ng-tracker with conflicts.

This commit is contained in:
Alyona 2018-11-23 14:10:36 +04:00
parent eaf03daba3
commit 5eff1bac81

View File

@ -62,6 +62,16 @@ function addPaper(title, status, comment, locked) {
}); });
} }
function filterPaper(authorId, year) {
var paperData = JSON.stringify({
"authors": title,
"": status
});
postToRest(urlPapers, paperData, function (data) {
alert(data);
});
}
function getPaperStatusClass(status) { function getPaperStatusClass(status) {
switch (status) { switch (status) {
case 'DRAFT': case 'DRAFT':