From 489894c38be54b955d0b6505be7c6f734c364684 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 08b6f89..ae125be 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 @@ -70,14 +70,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