From c92802ab09be426c559d74d6fda93a038c533c4c Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 14 Apr 2014 10:15:27 +0200 Subject: [PATCH] [-] FO : Fix bug #PSCSX-1717, active --- themes/default-bootstrap/js/index.js | 28 +++++++++++++++++++ .../modules/blockbestsellers/tab.tpl | 3 +- .../modules/blocknewproducts/tab.tpl | 3 +- .../modules/homefeatured/tab.tpl | 3 +- 4 files changed, 31 insertions(+), 6 deletions(-) diff --git a/themes/default-bootstrap/js/index.js b/themes/default-bootstrap/js/index.js index e69de29bb2d1..1ae4495d319c 100644 --- a/themes/default-bootstrap/js/index.js +++ b/themes/default-bootstrap/js/index.js @@ -0,0 +1,28 @@ +/* +* 2007-2014 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2014 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +$(document).ready(function(){ + $('#home-page-tabs li:first').addClass('active'); +}); \ No newline at end of file diff --git a/themes/default-bootstrap/modules/blockbestsellers/tab.tpl b/themes/default-bootstrap/modules/blockbestsellers/tab.tpl index 1d84aeea1397..e2a46532112e 100644 --- a/themes/default-bootstrap/modules/blockbestsellers/tab.tpl +++ b/themes/default-bootstrap/modules/blockbestsellers/tab.tpl @@ -22,5 +22,4 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -{counter name=active_li assign=active_li} -{l s='Best Sellers' mod='blockbestsellers'} \ No newline at end of file +
  • {l s='Best Sellers' mod='blockbestsellers'}
  • \ No newline at end of file diff --git a/themes/default-bootstrap/modules/blocknewproducts/tab.tpl b/themes/default-bootstrap/modules/blocknewproducts/tab.tpl index 320b3186709d..e17878865cbe 100644 --- a/themes/default-bootstrap/modules/blocknewproducts/tab.tpl +++ b/themes/default-bootstrap/modules/blocknewproducts/tab.tpl @@ -22,5 +22,4 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -{counter name=active_li assign=active_li} -{l s='New arrivals' mod='blocknewproducts'} \ No newline at end of file +
  • {l s='New arrivals' mod='blocknewproducts'}
  • \ No newline at end of file diff --git a/themes/default-bootstrap/modules/homefeatured/tab.tpl b/themes/default-bootstrap/modules/homefeatured/tab.tpl index 59d5ac559cf7..b2b00944feac 100644 --- a/themes/default-bootstrap/modules/homefeatured/tab.tpl +++ b/themes/default-bootstrap/modules/homefeatured/tab.tpl @@ -22,5 +22,4 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -{counter name=active_li assign=active_li} -{l s='Popular' mod='homefeatured'} \ No newline at end of file +
  • {l s='Popular' mod='homefeatured'}
  • \ No newline at end of file