You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you go to the Advanced -> Plugins and then load a plugin, it registers a 'pageshow' handler. If you leave the page and go back, it registers again with a new instance of the handler. On 'pageshow', each registered handler is then called resulting in race conditions, etc. You can most easily see this by loading in the JavaScript console and seeing the load count for the plugin configuration webpage:
The "3" below grows each time you leave and go back into the plugin.
The text was updated successfully, but these errors were encountered:
It doesn't look like there is a race condition being caused; I was trying to root cause why leaving and going back into plugin views is randomly clearing my field data. I thought I had that fixed in combination with the fix to the issue here, but it seems that problem is tangential, unless there is another view in Jellyfin doing things with DOM form elements on 'pageshow' or 'viewshow'.
If you go to the Advanced -> Plugins and then load a plugin, it registers a 'pageshow' handler. If you leave the page and go back, it registers again with a new instance of the handler. On 'pageshow', each registered handler is then called resulting in race conditions, etc. You can most easily see this by loading in the JavaScript console and seeing the load count for the plugin configuration webpage:
The "3" below grows each time you leave and go back into the plugin.
The text was updated successfully, but these errors were encountered: