From 348e6f1eef29e9aaf4c27b63e574710ee0257484 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 25 Nov 2013 09:35:28 +0100 Subject: [PATCH] Bug 11171: 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 --- 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 5ee7352..3fa12e2 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 } -- 1.7.10.4