From 2705fc1aa6c01d959a85c4ba252dc0f63df849df Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 2 Jul 2018 14:08:59 +0200 Subject: [PATCH] Bug 20468: (QA follow-up) Deactivate select/clear all for empty tab Content-Type: text/plain; charset=utf-8 This only pertains to the second (Processing) tab. Test plan: [1] Have one entry in Pending and zero in Processing. [2] Click on Processing tab. [3] Without this patch, you would see Select all/Clear all. With this patch, you won't. Signed-off-by: Marcel de Rooy --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt index c43cc75..8a2a073 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt @@ -322,6 +322,7 @@ $('#article-request-tabs').tabs({ activate: function( activate_event, activate_ui ) { active_table = activate_ui.newPanel.selector; + activateBatchActions( active_table ); }, create: function( create_event, create_ui ){ active_table = create_ui.panel.selector; -- 2.1.4