Added loader to reallocation and swap process

This commit is contained in:
vishalsingh.qlo325
2025-06-30 15:55:51 +05:30
parent f293209768
commit 8ceb03486f

View File

@@ -31,13 +31,17 @@ $(document).ready(function() {
/*For reallocating rooms in the modal*/
$(document).on('click', '#realloc_allocated_rooms', function(e){
$(".loading_overlay").show();
if (RoomReallocationModal.reallocate() == false) {
$(".loading_overlay").hide();
return false;
}
});
/*For swaping rooms in the modal*/
$(document).on('click', '#swap_allocated_rooms', function(){
$(".loading_overlay").show();
if (RoomReallocationModal.swap() == false) {
$(".loading_overlay").hide();
return false;
}
});