mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
show any ajax request errors to the user in the table
This commit is contained in:
parent
96a8efb4dd
commit
a9d7c01a67
@ -295,7 +295,8 @@
|
||||
$.tablesorter.isProcessing(table, true); // show loading icon
|
||||
}
|
||||
$doc.bind('ajaxError.pager', function(e, xhr, settings, exception) {
|
||||
if (url.match(settings.url)) {
|
||||
//show the error message on the table
|
||||
if (url === settings.url) {
|
||||
renderAjax(null, table, c, xhr, exception);
|
||||
$doc.unbind('ajaxError.pager');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user