FIX_ISSUE
This commit is contained in:
parent
b5e9839049
commit
fbbe6f791e
@ -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);
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user