Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/ArmRipper.WebUi/Views/Jobs/JobDetail.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,17 @@ else
}
}

// When the job enters manual_selection and the page wasn't
// originally rendered in that state, reload so the server
// renders the track checkboxes and submitManualSelection()
// function. Without this, the Continue Rip button injected
// by updateActionButtons calls an undefined function
// (issue #172).
if (update.status === 'manual_selection' && !manualSelectionSubmitted && typeof submitManualSelection !== 'function') {
location.reload();
return;
}

// Update action buttons when status changes
updateActionButtons(update.status);

Expand Down