Reorder final setup steps

This commit is contained in:
Duncan Sommerville 2015-01-12 12:45:52 -05:00
parent 0fcac545e6
commit 2b882cc313
2 changed files with 13 additions and 10 deletions

View file

@ -9,12 +9,8 @@ function cleanupStep(data, e) {
// If there are no errors, we can continue with
// the installation process
if (data.errors.length == 0) {
if ($(e.target).attr("id") == "finishSettingsForm") {
window.location.replace("/?config");
} else {
// Call nextSlide from the submit button's context
nextSlide.call($(e.target));
}
// Call nextSlide from the submit button's context
nextSlide.call($(e.target));
}
removeOverlay();
}