Fix some enhancements & new features
This commit is contained in:
6
build/js/include/core/session.js
Normal file
6
build/js/include/core/session.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function initAjaxCheckSession() {
|
||||
$( document ).ajaxError(function( event, jqxhr, settings, thrownError ) {
|
||||
alert("Session expired. You'll be take to the login page");
|
||||
location.href = "/login";
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user