Delete button bugfix edited
This commit is contained in:
parent
8a4ae613c2
commit
dca6f0b965
6
resources/assets/js/mixins/wizardAction.js
vendored
6
resources/assets/js/mixins/wizardAction.js
vendored
@ -104,7 +104,7 @@ export default {
|
|||||||
[key]: val,
|
[key]: val,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if(plus_data == 'type') {
|
if(plus_data == 'type') {
|
||||||
Object.assign(data, {
|
Object.assign(data, {
|
||||||
['type']: 'normal',
|
['type']: 'normal',
|
||||||
@ -117,7 +117,7 @@ export default {
|
|||||||
data: data,
|
data: data,
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if(form_list.length && form_list.length != undefined) {
|
if(form_list.length != undefined) {
|
||||||
if(form_method == 'POST') {
|
if(form_method == 'POST') {
|
||||||
form_list.push({
|
form_list.push({
|
||||||
"id": response.data.data.id,
|
"id": response.data.data.id,
|
||||||
@ -154,7 +154,7 @@ export default {
|
|||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
this.component = "";
|
this.component = "";
|
||||||
|
document.body.classList.remove("modal-open");
|
||||||
this.onDeleteItemMessage(event);
|
this.onDeleteItemMessage(event);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user