From 8ceb03486f732b60528dc5e3f977e6ca4f2d889f Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Mon, 30 Jun 2025 15:55:51 +0530 Subject: [PATCH] Added loader to reallocation and swap process --- js/admin/reallocation.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/admin/reallocation.js b/js/admin/reallocation.js index 130e03c7c..7c7baf1aa 100644 --- a/js/admin/reallocation.js +++ b/js/admin/reallocation.js @@ -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; } });