.
This commit is contained in:
@@ -48,6 +48,10 @@
|
|||||||
|
|
||||||
if (data.status == "success") {
|
if (data.status == "success") {
|
||||||
toastr.info('Deleted.')
|
toastr.info('Deleted.')
|
||||||
|
location.reload();
|
||||||
|
} else {
|
||||||
|
toastr.info('Error deleting questions.')
|
||||||
|
|
||||||
}
|
}
|
||||||
// show some message according to the response.
|
// show some message according to the response.
|
||||||
// For eg. A message box showing that the status has been changed
|
// For eg. A message box showing that the status has been changed
|
||||||
|
|||||||
Reference in New Issue
Block a user