Created
July 29, 2021 13:42
-
-
Save yahyaahrika/c904eb30d6a1a918a87da50af677fba5 to your computer and use it in GitHub Desktop.
datatables error ajax session destroy or other stauff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.dataTable.ext.errMode = function (settings, helpPage, message) { | |
if (settings.iDrawError == -1) { | |
document.location.reload(); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment