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 <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2013-11-25 09:35:28 +01:00 committed by Galen Charlton
parent c9b873ff10
commit d5281fd41e
1 changed files with 1 additions and 1 deletions

View File

@ -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 }