From d929b0faa67808b98dbe28bdefef386c33dcf19a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 15 Jan 2016 10:01:54 +0000 Subject: [PATCH] Bug 15285: Fix conflict with the treetable plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The tables using the treetable plugin don't display correctly (with JS error). The lazy way to fix it is to redefine the dom of the table and remove the button area (B). Signed-off-by: Marc Véron Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 1 + 2 files changed, 2 insertions(+) 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 82f201f057..112a4ab2c8 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 @@ -49,6 +49,7 @@ $(document).ready(function() { { "bVisible": false, "aTargets": [ 0, 1 ] }, { "bSortable": false, "aTargets": ["_all"] } ], + 'dom': '<"top pager"ilpf>tr<"bottom pager"ip>', 'bSort': true, 'aaSortingFixed': [[ 1, 'asc' ]], 'bPaginate': false, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 76b5dde058..3257fc57f6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -191,6 +191,7 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") { "bVisible": false, "aTargets": [ 0, 1 ] }, { "bSortable": false, "aTargets": ["_all"] } ], + 'dom': '<"top pager"ilpf>tr<"bottom pager"ip>', 'bSort': true, 'aaSortingFixed': [[ 1, 'asc' ]], 'bPaginate': false, -- 2.39.5