setup module
This commit is contained in:
@ -24,7 +24,9 @@ $('body').on('click', '.remove-item-btn', function (e) {
|
||||
id: id
|
||||
},
|
||||
success: function (response) {
|
||||
location.reload();
|
||||
if(response.status == true){
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
console.error(xhr.responseText);
|
||||
|
Reference in New Issue
Block a user