From 798d6795124a40eb404d692a5bbde9bff49fd233 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 2 Oct 2014 15:52:52 +0200 Subject: [PATCH] Bug 12989: Fix JS error inactive and active are not defined anymore. They should be removed. The filter is done with DataTables. --- 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(); -- 2.1.0