From 1b8526cd0507d960c9ed58fb59223f5e5f09427c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Tue, 15 Oct 2013 18:35:04 +0200 Subject: [PATCH] // fix ajax on module list --- admin-dev/themes/default/template/controllers/modules/js.tpl | 3 +-- .../themes/default/template/controllers/modules/page.tpl | 4 ++-- 2 files changed, 3 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 d2d732e1b..d997904aa 100644 --- a/admin-dev/themes/default/template/controllers/modules/js.tpl +++ b/admin-dev/themes/default/template/controllers/modules/js.tpl @@ -108,12 +108,11 @@ { $('.categoryModuleFilterLink').css('background-color', 'white'); $(this).css('background-color', '#EBEDF4'); - var ajaxReloadCurrentIndex = $(this).find('a').attr('href').replace('index.php', 'ajax-tab.php'); try { resAjax = $.ajax({ type:"POST", - url : ajaxReloadCurrentIndex, + url : $(this).attr('href'), async: true, data : { ajax : "1", diff --git a/admin-dev/themes/default/template/controllers/modules/page.tpl b/admin-dev/themes/default/template/controllers/modules/page.tpl index d088fd9a2..c56cc090c 100644 --- a/admin-dev/themes/default/template/controllers/modules/page.tpl +++ b/admin-dev/themes/default/template/controllers/modules/page.tpl @@ -71,7 +71,7 @@
-
+
@@ -90,7 +90,7 @@ {l s='All'} {$nb_modules} {foreach from=$list_modules_categories item=module_category key=module_category_key} - + {$module_category.name} {$module_category.nb} {/foreach}