From ecf45d04755a049e722d40d389aae6baa91d697a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Wed, 30 Oct 2013 18:28:55 +0100 Subject: [PATCH] // small fix --- admin-dev/themes/default/template/controllers/modules/js.tpl | 4 ++-- .../themes/default/template/controllers/modules/page.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/modules/js.tpl b/admin-dev/themes/default/template/controllers/modules/js.tpl index 90da87538..d7fe022a5 100644 --- a/admin-dev/themes/default/template/controllers/modules/js.tpl +++ b/admin-dev/themes/default/template/controllers/modules/js.tpl @@ -94,8 +94,8 @@ // Method to reload filter in ajax $('.categoryModuleFilterLink').click(function() { - $('.categoryModuleFilterLink').css('background-color', 'white'); - $(this).css('background-color', '#EBEDF4'); + $('.categoryModuleFilterLink').removeClass('active'); + $(this).addClass('active'); try { resAjax = $.ajax({ diff --git a/admin-dev/themes/default/template/controllers/modules/page.tpl b/admin-dev/themes/default/template/controllers/modules/page.tpl index cb83d2e71..0761f1188 100644 --- a/admin-dev/themes/default/template/controllers/modules/page.tpl +++ b/admin-dev/themes/default/template/controllers/modules/page.tpl @@ -94,10 +94,10 @@ - + {l s='Favorites'} {$nb_modules_favorites} - + {l s='All'} {$nb_modules} {foreach from=$list_modules_categories item=module_category key=module_category_key}