1
0
Fork 0
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:
Luke Pulverenti 2015-06-08 17:32:20 -04:00
parent bbfda77868
commit f64e0c7c53
54 changed files with 838 additions and 666 deletions

View file

@ -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);