Fixed privileges

This commit is contained in:
Marcin Kurczewski
2014-09-30 22:09:43 +02:00
parent 0cfb7b821d
commit 4c458d8b20
9 changed files with 39 additions and 19 deletions

View File

@ -79,7 +79,7 @@ App.Presenters.PostPresenter = function(
topNavigationPresenter.changeTitle('@' + post.id);
render();
loaded();
});
}).fail(loaded);
}
function refreshPost() {
@ -344,6 +344,9 @@ App.Presenters.PostPresenter = function(
}
function showGenericError(response) {
if ($messages === $el) {
$el.empty();
}
messagePresenter.showError($messages, response.json && response.json.error || response);
}