client/general: fix certain error handlers

This commit is contained in:
rr-
2016-06-23 12:25:04 +02:00
parent c7f6663c36
commit 2f20bc1619
4 changed files with 7 additions and 7 deletions

View File

@ -128,7 +128,7 @@ class UserController {
ctx.controller.showSuccess('Account deleted.');
}
}, errorMessage => {
this._view.showError(response.description);
this._view.showError(errorMessage);
this._view.enableForm();
});
}