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:
parent
c9b873ff10
commit
d5281fd41e
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue