Commit e6bde7a5 authored by Efthymia Bika's avatar Efthymia Bika

Render timeview contents when there is no error

parent 05db1e34
......@@ -34,6 +34,7 @@ function show_contents_by_date(error, stdout, stderr) {
toggle_error(error, stderr);
$("#time-contents").empty();
if(!error) {
var ul = $("<ul></ul>")
.attr("class", "no-bullet")
.attr("id", "timeview-contents-list");
......@@ -77,6 +78,7 @@ function show_contents_by_date(error, stdout, stderr) {
});
$("#time-contents").append(ul);
}
$("#loader").hide();
}
......
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