mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
auto-organize fix
This commit is contained in:
parent
bbfda77868
commit
f64e0c7c53
54 changed files with 838 additions and 666 deletions
|
@ -326,7 +326,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
$(document).on('pageinit', "#libraryFileOrganizerLogPage", function () {
|
||||
function onEpisodeCorrectionFormSubmit() {
|
||||
submitEpisodeForm(this);
|
||||
return false;
|
||||
}
|
||||
|
||||
$(document).on('pageinitdepends', "#libraryFileOrganizerLogPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
@ -338,7 +343,9 @@
|
|||
|
||||
});
|
||||
|
||||
}).on('pageshow', "#libraryFileOrganizerLogPage", function () {
|
||||
$('.episodeCorrectionForm').off('submit', onEpisodeCorrectionFormSubmit).on('submit', onEpisodeCorrectionFormSubmit);
|
||||
|
||||
}).on('pageshowready', "#libraryFileOrganizerLogPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
@ -368,13 +375,4 @@
|
|||
$(ApiClient).off(".autoorganizelog");
|
||||
});
|
||||
|
||||
window.OrganizerLogPage = {
|
||||
|
||||
onEpisodeCorrectionFormSubmit: function () {
|
||||
|
||||
submitEpisodeForm(this);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery, document, window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue