// Fix scrolling
This commit is contained in:
@@ -3,7 +3,9 @@ $(document).ready(function()
|
|||||||
// Submit change of language
|
// Submit change of language
|
||||||
$('#langList li input').click(function()
|
$('#langList li input').click(function()
|
||||||
{
|
{
|
||||||
$('#mainForm').submit();
|
var form = $('#mainForm');
|
||||||
|
form.attr('action', form.attr('action')+'#licenses-agreement');
|
||||||
|
form.submit();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Desactivate next button if licence checkbox is not checked
|
// Desactivate next button if licence checkbox is not checked
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<p><?php echo $this->l('PrestaShop and community offers over 40 different languages for free directly accessible from your back-office in tools tab'); ?> </p>
|
<p><?php echo $this->l('PrestaShop and community offers over 40 different languages for free directly accessible from your back-office in tools tab'); ?> </p>
|
||||||
|
|
||||||
<!-- License agreement -->
|
<!-- License agreement -->
|
||||||
<h2><?php echo $this->l('Licenses Agreement') ?></h2>
|
<h2 id="licenses-agreement"><?php echo $this->l('Licenses Agreement') ?></h2>
|
||||||
<div style="height:200px; border:1px solid #ccc; margin-bottom:8px; padding:5px; background:#fff; overflow: auto; overflow-x:hidden; overflow-y:scroll;">
|
<div style="height:200px; border:1px solid #ccc; margin-bottom:8px; padding:5px; background:#fff; overflow: auto; overflow-x:hidden; overflow-y:scroll;">
|
||||||
<p><strong><?php echo $this->l('PrestaShop core is released under the OSL 3.0 while PrestaShop modules and themes are released under the AFL 3.0.') ?></strong></p>
|
<p><strong><?php echo $this->l('PrestaShop core is released under the OSL 3.0 while PrestaShop modules and themes are released under the AFL 3.0.') ?></strong></p>
|
||||||
<h3>Core: Open Software License ("OSL") v. 3.0</h3>
|
<h3>Core: Open Software License ("OSL") v. 3.0</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user