View | Details | Raw Unified | Return to bug 28096
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-1 / +9 lines)
Lines 773-778 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
773
773
774
        var table = $(this).dataTable(settings);
774
        var table = $(this).dataTable(settings);
775
775
776
        table.DataTable().on("column-visibility.dt", function(){
777
            if( typeof columnsInit == 'function' ){
778
                // This function can be created separately and used to trigger
779
                // an event after the DataTable has loaded AND column visibility
780
                // has been updated according to the table's configuration
781
                columnsInit();
782
            }
783
        }).columns( hidden_ids ).visible( false );
784
776
        if ( add_filters ) {
785
        if ( add_filters ) {
777
            var table_dt = table.DataTable();
786
            var table_dt = table.DataTable();
778
            $(this).find('thead tr:eq(1) th').each( function (i) {
787
            $(this).find('thead tr:eq(1) th').each( function (i) {
779
- 

Return to bug 28096