Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to edit scheduled tasks: Master Branch #6507

Open
soultaco83 opened this issue Feb 1, 2025 · 3 comments
Open

Unable to edit scheduled tasks: Master Branch #6507

soultaco83 opened this issue Feb 1, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@soultaco83
Copy link

Describe The Bug
When attempting to edit the scheduled tasks via the webui. The page no longer loads
After clicking on any of the tasks the page appears to bug.

Steps To Reproduce

1: dashboard
2: scheduled tasks
3: click on a job

Expected Behavior
able to edit the tasks

Logs
Console Logs:

Uncaught (in promise) TypeError: e.querySelector(...).parentNode.trigger is not a function
    at new d (dashboard-scheduledtasks-scheduledtask.faebb2b4b4b1ea977f3e.chunk.js:1:6003)
    at main.jellyfin.bundle.js?f904acf064ac411eab7c:2:238704
    at main.jellyfin.bundle.js?f904acf064ac411eab7c:2:235990
d @ dashboard-scheduledtasks-scheduledtask.faebb2b4b4b1ea977f3e.chunk.js:1
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
Promise.then
loadView @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
value @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
a @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
Promise.then
l @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
c @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
p @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ main.jellyfin.bundle.js?f904acf064ac411eab7c:2
ri @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
Ss @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
is @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
Bl @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
(anonymous) @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
ws @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
ls @ node_modules.react-dom.bundle.js?f904acf064ac411eab7c:2
A @ 40318.bundle.js?f904acf064ac411eab7c:2
P @ 40318.bundle.js?f904acf064ac411eab7c:2
T.<computed> @ node_modules.core-js.bundle.js?f904acf064ac411eab7c:1
M @ node_modules.core-js.bundle.js?f904acf064ac411eab7c:1
P @ node_modules.core-js.bundle.js?f904acf064ac411eab7c:1Understand this errorAI

Screenshots

Image

System (please complete the following information):

  • Platform: Unraid, Docker
  • Browser: Chrome, Firefox
  • Jellyfin Version: Master Branch
  • Commit: 25301f3
  • Server name: jellyfin_test
    Server version: 10.11.0
    Web version: 10.11.0
    Build version: 2025020116

Additional Context

@soultaco83 soultaco83 added the bug Something isn't working label Feb 1, 2025
@soultaco83 soultaco83 changed the title Unable to edit scheduled tasks Unable to edit scheduled tasks: Master Branch Feb 1, 2025
@soultaco83
Copy link
Author

Maybe related to
#6333

@soultaco83
Copy link
Author

This may become invalid.
Appears that this is moving to react: #6506

@li-peifeng
Copy link

Position to

src/controllers/dashboard/scheduledtasks/scheduledtask.js

Modify line 218

view.querySelector('#popupAddTrigger').parentNode.trigger(new Event('create'));

to

$(view.querySelector('#popupAddTrigger').parentNode).trigger('create');

This can temporarily solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants