mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use global response error handling
This commit is contained in:
parent
90e6a8e467
commit
80bca379ff
5 changed files with 9 additions and 38 deletions
|
@ -869,7 +869,7 @@
|
|||
require(['toast'], function (toast) {
|
||||
toast('Settings saved.');
|
||||
});
|
||||
});
|
||||
}, Dashboard.processErrorResponse);
|
||||
|
||||
} else {
|
||||
|
||||
|
@ -882,7 +882,7 @@
|
|||
|
||||
Dashboard.navigate('dlnaprofiles.html');
|
||||
|
||||
});
|
||||
}, Dashboard.processErrorResponse);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue