Merge branch 'master' of C:\Users\катя\IdeaProjects\ng-tracker with conflicts.
This commit is contained in:
parent
eaf03daba3
commit
5eff1bac81
@ -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':
|
||||||
|
Loading…
Reference in New Issue
Block a user