Skip to content
Snippets Groups Projects
Commit a16948a7 authored by tudtianus's avatar tudtianus
Browse files

#64 fix: closeJournal fixed

parent 0ea4943d
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ $(document).ready(function() {
$.ajax({
url: "../rest/journal//journals/" + student + "/" + project + "/ALL"
url: "../rest/journal/journals/" + student + "/" + project + "/ALL"
}).then(function(data) {
loadJournals(data);
console.log(data);
......@@ -55,11 +55,11 @@ function timestampToDateString(timestamp) {
function filterJournals() {
var filter = $( '#journalfilter option:selected' ).val();
project = getQueryVariable("projectId");
$('.journal').empty();
$.ajax({
url: "../rest/journal//journals/" + student + "/" + project / "+filter"
url: "../rest/journal/journals/" + student + "/" + project + "/" + filter
}).then(function(data) {
loadJournals(data);
console.log(data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment