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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +1 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
    if ( settings.jqXHR ) {
488
    if ( settings && settings.jqXHR ) {
489
        console.log("Got %s (%s)".format(settings.jqXHR.status, settings.jqXHR.statusText));
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));
490
        alert(__("Something went wrong when loading the table.\n%s: %s").format(settings.jqXHR.status, settings.jqXHR.statusText));
491
    } else {
491
    } else {
492
- 

Return to bug 31343