]> git.koha-community.org Git - koha.git/commit
Bug 15916: Datatables - buttons area should be defined
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 29 Feb 2016 08:34:46 +0000 (08:34 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 00:50:40 +0000 (00:50 +0000)
commite3bf39b4bc9e81c1304abb3293a5367582bd58d9
treebda1c5bc5b8a8cd47057f1f78d58131cdab01bea
parentcd9589681d053f15cb54b58570af908e40abd460
Bug 15916: Datatables - buttons area should be defined

Commit 243b797dd11bc0ac1f475195ab765ffbf2220f8b
    Bug 15285: Update common files

Set 'B' to the default dom of Datatable constructor.
This cannot work if there is no button defined.

This patch defined an empty 'buttons' param for this constructor, DT
does not raised an error anymore when initialising.

Test plan:
Confirm that the tables on the following tables are not broken:
- circ/waitingreserves.pl
- circ/reserveratios.pl
- patron_lists/lists.pl
- virtualshelves/shelves.pl
- acqui/invoices.pl
And with datatables:
- circ/circulation.pl
- admin/currency.pl

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js