fix some unhandled promises and refactor some code
This commit is contained in:
@@ -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')
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user