Open daed-alus opened 6 years ago
Do you still have th issue ? if yes, could you provide some more information : Server / Plugin version OS (Windows / lInux) Browser And if you can a javascript error log from your navigator.
I tried to reproduce with no success, do you have a huge library ? (tested with about 200 Series)
no this does not occur anymore but the selection defaults to 'movie', maybe this should be changed to 'blank'
think this was not fixed and still took place but masked cause it always defaulted to 'movie' before and you had to switch anyway everytime
for a identified series episode file
for an identified movie file
Still have the same issue. "Series" preselected but not initialized, first have to deselect then select again.
After click on the "Organize" button:
After deselecting the "Media Type"
After selecting "Series" again
I looked a bit into this
I noticed this error:
TypeError: dlg.querySelector(...) is null; can't access its "innerHTML" property line 346
my guess is that's because selectedMediaTypeChanged
is called before the browser is done rendering the dialog
maybe it should be called once it opened, eg:
dlg.addEventListener('open', function() {selectedMediaTypeChanged(dlg, item)})
but I don't know if the open
event exists, or asynchronously, eg:
window.settimeout(function() {selectedMediaTypeChanged(dlg, item)}, 1);
default selection in the 'Organize File' dialogue is not properly initialized defaults to 'Series' but is not functional, only selecting 'blank' and than back to 'Series/Movie' initializes the lower input fields/buttons correctly