Remove missed JS "debugger;"
This commit is contained in:
@ -230,7 +230,6 @@
|
|||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
data: JSON.stringify(jsonData),
|
data: JSON.stringify(jsonData),
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
debugger;
|
|
||||||
if (response.detail) {
|
if (response.detail) {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: "Success!",
|
title: "Success!",
|
||||||
@ -241,7 +240,6 @@
|
|||||||
location.reload();
|
location.reload();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
debugger;
|
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: "Error!",
|
title: "Error!",
|
||||||
text: response.error || "Failed to add user",
|
text: response.error || "Failed to add user",
|
||||||
|
|||||||
Reference in New Issue
Block a user