fix pdam redirect back and advertisement partial update redirect
This commit is contained in:
@@ -20,6 +20,7 @@ class UploadCustomers {
|
||||
initDropzone() {
|
||||
const toastNotification = document.getElementById("toastNotification");
|
||||
const toast = new bootstrap.Toast(toastNotification);
|
||||
let menuId = document.getElementById("menuId").value;
|
||||
var previewTemplate,
|
||||
dropzonePreviewNode = document.querySelector(
|
||||
"#dropzone-preview-list"
|
||||
@@ -46,7 +47,7 @@ class UploadCustomers {
|
||||
response.message;
|
||||
toast.show();
|
||||
setTimeout(() => {
|
||||
window.location.href = "/data/customers";
|
||||
window.location.href = `/data/customers?menu_id=${menuId}`;
|
||||
}, 2000);
|
||||
});
|
||||
this.on("error", function (file, errorMessage) {
|
||||
|
||||
Reference in New Issue
Block a user