Fixed error messages covered with content spinner

This commit is contained in:
Marcin Kurczewski
2014-09-27 10:31:12 +02:00
parent 5291d02b4c
commit 3da8d2c233
5 changed files with 12 additions and 2 deletions

View File

@ -63,7 +63,10 @@ App.Presenters.PostPresenter = function(
historyTemplate = _.template(historyTemplateHtml);
reinit(args, loaded);
}).fail(showGenericError);
}).fail(function(response) {
showGenericError(response);
loaded();
});
}
function reinit(args, loaded) {
@ -80,7 +83,10 @@ App.Presenters.PostPresenter = function(
topNavigationPresenter.changeTitle('@' + post.id);
render();
loaded();
}).fail(showGenericError);
}).fail(function(response) {
showGenericError(response);
loaded();
});
}
function render() {