Fixed frontend crashing when database is empty

This commit is contained in:
Marcin Kurczewski
2014-10-10 18:13:46 +02:00
parent d2695e635c
commit 0811968718
23 changed files with 102 additions and 40 deletions

View File

@ -53,10 +53,15 @@ App.Presenters.PostCommentListPresenter = function(
.then(function(response) {
comments = response.json.data;
render();
}).fail(function() {
console.log(arguments);
});
}
})
.fail(function() { console.log(new Error(arguments)); });
.fail(function() {
console.log(arguments);
loaded();
});
}
function render() {