Fixed some promises not handling errors

This commit is contained in:
Marcin Kurczewski
2014-11-03 20:42:10 +01:00
parent e57de564d9
commit 752af358df
4 changed files with 25 additions and 13 deletions

View File

@ -51,6 +51,9 @@ App.Presenters.PostListPresenter = function(
function() {
reinit(params, function() {});
});
}).fail(function() {
console.log(arguments);
loaded();
});
jQuery(window).on('resize', windowResized);