2022-08-18 06:21:44 +00:00
|
|
|
function contentFade(action){
|
|
|
|
|
if(action === "in"){
|
|
|
|
|
$("#fadeDiv").show()
|
|
|
|
|
}else{
|
|
|
|
|
$("#fadeDiv").hide()
|
|
|
|
|
}
|
2022-08-22 09:35:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function sessionReload(){
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/refreshSession',
|
|
|
|
|
type: 'GET',
|
|
|
|
|
success: function(){location.reload();},
|
|
|
|
|
error:function(){}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$(document).on('click', '.allChk', function (){
|
|
|
|
|
$(this).parents('table').find('[type="checkbox"]').prop("checked", this.checked);
|
|
|
|
|
})
|