1
0
Fork 0
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:
Matt Montgomery 2020-09-03 16:51:15 -05:00
parent 28928ead7c
commit 723472aca5
6 changed files with 71 additions and 77 deletions

View file

@ -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;