Revert broken change to setup
This commit is contained in:
@@ -310,6 +310,22 @@
|
|||||||
sparkLine();
|
sparkLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function goToStep(current, next) {
|
||||||
|
// validation was ok. We can go on next step.
|
||||||
|
$('.block-' + current)
|
||||||
|
.removeClass('show')
|
||||||
|
.addClass('hidden');
|
||||||
|
|
||||||
|
$('.block-' + next)
|
||||||
|
.removeClass('hidden')
|
||||||
|
.addClass('show');
|
||||||
|
|
||||||
|
$('.steps .step')
|
||||||
|
.removeClass("active")
|
||||||
|
.filter(":lt(" + (next) + ")")
|
||||||
|
.addClass("active");
|
||||||
|
}
|
||||||
|
|
||||||
// Check for updates.
|
// Check for updates.
|
||||||
if ($('#update-alert').length > 0) {
|
if ($('#update-alert').length > 0) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|||||||
Reference in New Issue
Block a user