mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update firefox profile
This commit is contained in:
parent
d8dc752c67
commit
7a38834360
2 changed files with 22 additions and 2 deletions
|
@ -85,7 +85,7 @@
|
|||
var id = button.getAttribute('data-taskid');
|
||||
|
||||
var key = 'scheduledTaskButton' + options.taskKey;
|
||||
var expectedValue = new Date().getMonth() + '5';
|
||||
var expectedValue = new Date().getMonth() + '6';
|
||||
|
||||
if (appStorage.getItem(key) == expectedValue) {
|
||||
onScheduledTaskMessageConfirmed(button, id);
|
||||
|
@ -99,7 +99,13 @@
|
|||
|
||||
require(['confirm'], function (confirm) {
|
||||
|
||||
confirm(msg, Globalize.translate('HeaderConfirmation')).then(function () {
|
||||
confirm({
|
||||
|
||||
title: Globalize.translate('HeaderConfirmation'),
|
||||
html: msg,
|
||||
text: Globalize.translate('ConfirmMessageScheduledTaskButton') + "\n\n" + Globalize.translate('ButtonScheduledTasks')
|
||||
|
||||
}).then(function () {
|
||||
appStorage.setItem(key, expectedValue);
|
||||
onScheduledTaskMessageConfirmed(button, id);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue