From e2a879021687770e69f0dfc27e00c1c94515e8c7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 2 Oct 2014 15:52:52 +0200 Subject: [PATCH] [PASSED QA] Bug 12989: Fix JS error inactive and active are not defined anymore. They should be removed. The filter is done with DataTables. Signed-off-by: Paola Rossi Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt index f73ff27..3b587de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -71,14 +71,10 @@ $(document).ready(function() { $("#hide_inactive").click(function(e){ e.preventDefault(); oTable.fnFilter( 1, 0 ); // Show only active=1 - inactive.hide(); - active.show(); }); $("#show_inactive").click(function(e){ e.preventDefault(); oTable.fnFilter( '', 0 ); - inactive.show(); - active.hide(); }); $("#hide_inactive").click(); -- 1.9.1