From 02eee395f654a7f019e7710289b60c03ca72b80a Mon Sep 17 00:00:00 2001 From: jBreux Date: Thu, 26 Jan 2012 18:00:03 +0000 Subject: [PATCH] // Fix scrolling git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12738 b9a71923-0436-4b27-9f14-aed3839534dd --- 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