// Fix scrolling

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12738 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
jBreux
2012-01-26 18:00:03 +00:00
parent bfcc394fb5
commit 02eee395f6
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ $(document).ready(function()
// Submit change of language
$('#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
+1 -1
View File
@@ -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>
<!-- 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;">
<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>