From d5281fd41ec4b2f0c497d75550e2c865d96183d8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 25 Nov 2013 09:35:28 +0100 Subject: [PATCH] Bug 11171: (follow-up) fix a javascript error The previous patch adds an error on booksellers.pl: TypeError: a.aoColumns[c] is undefined It was caused by the add of the new column. The aoColumns DT parameter should manage it. Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 5ee73521fc..3fa12e23b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -19,7 +19,7 @@ $(document).ready(function() { 'bInfo': false, "aaSorting": [[ 1, "asc" ]], "aoColumns": [ - null,null,null,null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null + null,null,null,null,null,null,{ "sType": "title-string" },null,{ "sType": "title-string" },null ], 'aoColumnDefs': [ { 'aTargets': [-1], 'bSortable': false } -- 2.39.5