From 070eb319d81b8651fba73ba8f3760ddc80983e96 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 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). --- 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.0