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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +7 lines)
Lines 485-491 function filterDataTable( table, column, term ){ Link Here
485
}
485
}
486
486
487
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
487
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
488
    console.warn(message);
488
    if ( settings.jqXHR ) {
489
        console.log("Got %s (%s)".format(settings.jqXHR.status, settings.jqXHR.statusText));
490
        alert(__("Something went wrong when loading the table.\n%s: %s").format(settings.jqXHR.status, settings.jqXHR.statusText));
491
    } else {
492
        alert(__("Something went wrong when loading the table."));
493
    }
494
    console.log(message);
489
};
495
};
490
496
491
(function($) {
497
(function($) {
492
- 

Return to bug 31138