Bug 23307: (RM follow-up) Fix breaking change to columns_settings.inc
The changes to columns_settings.inc in bug 23307 inadvertantly change the return from an updated jQuery datatable object to a plain jQuery object and as such broke a number of tables in Koha. This patch simply reverts the change whilst continuing to allow the new functionality to work as expeced. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
dfb7af91af
commit
133090902f
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) {
|
|||
thead_row.before(clone);
|
||||
}
|
||||
|
||||
table.DataTable($.extend(true, {}, dataTablesDefaults, dt_parameters));
|
||||
table.dataTable($.extend(true, {}, dataTablesDefaults, dt_parameters));
|
||||
|
||||
table.DataTable().on("column-visibility.dt", function(){
|
||||
if( typeof columnsInit == 'function' ){
|
||||
|
|
Loading…
Reference in a new issue