From 3a00ca15cc2f888fd38caccdcbd014fc3fd5f6a7 Mon Sep 17 00:00:00 2001 From: Jarrett Jordaan Date: Tue, 11 Aug 2009 10:51:12 +0200 Subject: [PATCH] Story ID:964076 Updated Javascript --- setup/wizard/resources/wizard.js | 8 +++++--- setup/wizard/steps/dependencies.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) 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; } } -- libgit2 0.21.4