FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2026-03-27 14:21:50 +05:30
parent b5e9839049
commit fbbe6f791e

View File

@ -476,7 +476,14 @@ $('#uploadForm').submit(function() {
console.error("Request failed:", status, error);
toastr.error('Something went wrong! Try later', 'Error');
$('#uploadForm')[0].reset();
window.location.reload(true);
},
complete: function() {
console.log("Request finished. Reloading in 2 seconds...");
setTimeout(function() {
window.location.reload();
}, 2000);
}
});
})