fix some unhandled promises and refactor some code
This commit is contained in:
parent
d7161f9d65
commit
df599db415
9 changed files with 8 additions and 23 deletions
|
@ -112,7 +112,7 @@ export default function (page, providerId, options) {
|
|||
providerId = result.Id;
|
||||
reload();
|
||||
}, function () {
|
||||
Dashboard.alert({ // ApiClient.ajax() error handler
|
||||
Dashboard.alert({
|
||||
message: globalize.translate('ErrorSavingTvProvider')
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue