From 63e883e16f60fadbf5bd87a6112d89c2f8b85463 Mon Sep 17 00:00:00 2001 From: jBreux Date: Thu, 26 Jan 2012 18:00:03 +0000 Subject: [PATCH] // Fix scrolling --- install-dev/theme/js/welcome.js | 4 +++- install-dev/theme/views/welcome.phtml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install-dev/theme/js/welcome.js b/install-dev/theme/js/welcome.js index 63573f840..44145d1a0 100644 --- a/install-dev/theme/js/welcome.js +++ b/install-dev/theme/js/welcome.js @@ -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 diff --git a/install-dev/theme/views/welcome.phtml b/install-dev/theme/views/welcome.phtml index 7e52f4623..e6721b765 100644 --- a/install-dev/theme/views/welcome.phtml +++ b/install-dev/theme/views/welcome.phtml @@ -29,7 +29,7 @@

l('PrestaShop and community offers over 40 different languages for free directly accessible from your back-office in tools tab'); ?>

-

l('Licenses Agreement') ?>

+

l('Licenses Agreement') ?>

l('PrestaShop core is released under the OSL 3.0 while PrestaShop modules and themes are released under the AFL 3.0.') ?>

Core: Open Software License ("OSL") v. 3.0