From 19da345531bc503335180ab881f488c4473ca238 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Sun, 10 Nov 2013 21:51:14 +0100 Subject: [PATCH] [-] BO : Could not check all modules after ajax call --- .../themes/default/template/controllers/modules/js.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/modules/js.tpl b/admin-dev/themes/default/template/controllers/modules/js.tpl index d920b668b..8bfa5fa12 100644 --- a/admin-dev/themes/default/template/controllers/modules/js.tpl +++ b/admin-dev/themes/default/template/controllers/modules/js.tpl @@ -87,7 +87,7 @@ }); // Method to check / uncheck all modules checkbox - $('#checkme').click(function() + $('#moduleContainer').on("click", "#checkme", function() { if ($(this).attr("rel") == 'false') { @@ -321,8 +321,8 @@ catch(e){} return false; }); - - $('.toggle_favorite').live('click', function(event) + + $('#moduleContainer').on("click", ".toggle_favorite", function() { var el = $(this); var value_pref = el.data('value');