From c33d264e5dd58e9efec1af057c8da982678d047e 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=UTF-8 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 --- 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 82f201f..112a4ab 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 5ff800a..109bce5 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.1.4