thrimbletrimmer: Instead of redirecting on submit, alert but stay

pull/211/head
Mike Lang 4 years ago committed by Mike Lang
parent 337111a9ab
commit 74a38bfaeb

@ -299,9 +299,7 @@ thrimbletrimmerSubmit = function(state, override_changes=false) {
alert(error);
}
} else if (state == 'EDITED') {
// Only return to dashboard if submitted, not for save draft
setTimeout(() => { window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
return
alert(`Video submitted for edit from ${start} to ${end}`)
} else {
alert("Draft saved");
}

Loading…
Cancel
Save