mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Complete modifications to work with latest server code
This commit is contained in:
parent
28928ead7c
commit
723472aca5
6 changed files with 71 additions and 77 deletions
|
@ -1,4 +1,6 @@
|
|||
import loading from 'loading';
|
||||
import toast from 'toast';
|
||||
import globalize from 'globalize';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -32,10 +34,7 @@ import loading from 'loading';
|
|||
type: 'POST',
|
||||
url: url
|
||||
}, true).then(() => {
|
||||
require(['toast'], function (toast) {
|
||||
toast('Settings saved');
|
||||
});
|
||||
|
||||
toast(globalize.translate('SettingsSaved'));
|
||||
setTimeout(updatePage, 500);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue