mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update site.js
This commit is contained in:
parent
1d74c5c85a
commit
951d3ffc49
1 changed files with 3 additions and 3 deletions
|
@ -152,13 +152,13 @@ var Dashboard = {
|
||||||
processPluginConfigurationUpdateResult: function () {
|
processPluginConfigurationUpdateResult: function () {
|
||||||
require(['loading', 'toast'], function (loading, toast) {
|
require(['loading', 'toast'], function (loading, toast) {
|
||||||
loading.hide();
|
loading.hide();
|
||||||
toast(Globalize.translate('MessageSettingsSaved'));
|
toast.default(Globalize.translate('MessageSettingsSaved'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
processServerConfigurationUpdateResult: function (result) {
|
processServerConfigurationUpdateResult: function (result) {
|
||||||
require(['loading', 'toast'], function (loading, toast) {
|
require(['loading', 'toast'], function (loading, toast) {
|
||||||
loading.hide();
|
loading.hide();
|
||||||
toast(Globalize.translate('MessageSettingsSaved'));
|
toast.default(Globalize.translate('MessageSettingsSaved'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
processErrorResponse: function (response) {
|
processErrorResponse: function (response) {
|
||||||
|
@ -180,7 +180,7 @@ var Dashboard = {
|
||||||
alert: function (options) {
|
alert: function (options) {
|
||||||
if ('string' == typeof options) {
|
if ('string' == typeof options) {
|
||||||
return void require(['toast'], function (toast) {
|
return void require(['toast'], function (toast) {
|
||||||
toast({
|
toast.default({
|
||||||
text: options
|
text: options
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue