[*] Installer : Automatically drop the system compatibility check when everything's alright
// Fixed 'next' button when the page is refreshed
This commit is contained in:
1 parent
3b2be13f2e
commit
7b6b9ceaf6
2 files changed
+9
-1
No files matched your search
@@ -274,7 +274,10 @@ abstract class InstallControllerHttp
|
|||||||
*/
|
*/
|
||||||
public function findNextStep()
|
public function findNextStep()
|
||||||
{
|
{
|
||||||
return (isset(self::$steps[$this->getStepOffset($this->step) + 1])) ? self::$steps[$this->getStepOffset($this->step) + 1] : false;
|
$nextStep = (isset(self::$steps[$this->getStepOffset($this->step) + 1])) ? self::$steps[$this->getStepOffset($this->step) + 1] : false;
|
||||||
|
if ($nextStep == 'system' && self::$instances[$nextStep]->validate())
|
||||||
|
$nextStep = self::$instances[$nextStep]->findNextStep();
|
||||||
|
return $nextStep;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -22,4 +22,9 @@ $(document).ready(function()
|
|||||||
else
|
else
|
||||||
$('#btNext').addClass('disabled').attr('disabled', true);
|
$('#btNext').addClass('disabled').attr('disabled', true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ($('#set_license').prop('checked'))
|
||||||
|
$('#btNext').removeClass('disabled').attr('disabled', false);
|
||||||
|
else
|
||||||
|
$('#btNext').addClass('disabled').attr('disabled', true);
|
||||||
});
|
});
|
||||||
Reference in new issue
Block a user