diff --git a/setup/wizard/resources/wizard.js b/setup/wizard/resources/wizard.js index 495b384..b7f7c08 100644 --- a/setup/wizard/resources/wizard.js +++ b/setup/wizard/resources/wizard.js @@ -61,12 +61,13 @@ wizard.prototype.toggleElement = function(el) { w.hideErrors(); // If theres no errors, hide the ones displaying var el = document.getElementsByClassName("step"+p); el[0].style.display = 'none'; + var j = 0; if(d == "n") { - var j = p+1; + j = p+1; } else if(d == "p") { - var j = p-1; + j = p-1; } - var el = document.getElementsByClassName("step"+j); + el = document.getElementsByClassName("step"+j); el[0].style.display = 'block'; return true; @@ -148,4 +149,5 @@ wizard.prototype.onSubmitValidate = function() { return false; } } + return true; } \ No newline at end of file diff --git a/setup/wizard/steps/dependencies.php b/setup/wizard/steps/dependencies.php index 83ea4ca..9db0825 100644 --- a/setup/wizard/steps/dependencies.php +++ b/setup/wizard/steps/dependencies.php @@ -323,7 +323,7 @@ class dependencies extends Step if(WINDOWS_OS) { return $ext; } else { - unset($ext['extension']['win32']); + unset($ext[5]); return $ext; } }