diff --git a/dashboard-ui/scripts/autoorganizelog.js b/dashboard-ui/scripts/autoorganizelog.js index 4035345f7f..8f0090ce0e 100644 --- a/dashboard-ui/scripts/autoorganizelog.js +++ b/dashboard-ui/scripts/autoorganizelog.js @@ -49,12 +49,12 @@ }); } - function organizeEpsiodeWithCorrections(page, item) { + function organizeFileWithCorrections(page, item) { - showEpisodeCorrectionPopup(page, item); + showCorrectionPopup(page, item); } - function showEpisodeCorrectionPopup(page, item) { + function showCorrectionPopup(page, item) { require(['components/fileorganizer/fileorganizer'], function (fileorganizer) { @@ -74,7 +74,7 @@ if (!item.TargetPath) { if (item.Type == "Episode") { - organizeEpsiodeWithCorrections(page, item); + organizeFileWithCorrections(page, item); } return;