.
This commit is contained in:
@@ -120,7 +120,9 @@
|
|||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
||||||
if (data.status == "success") {
|
if (data.status == "success") {
|
||||||
toastr.info('Question access state changed.')
|
toastr.info('Question access state changed.');
|
||||||
|
} else {
|
||||||
|
toastr.info(data.status);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.always(function () {
|
.always(function () {
|
||||||
@@ -142,7 +144,9 @@
|
|||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
||||||
if (data.status == "success") {
|
if (data.status == "success") {
|
||||||
toastr.info('Question access state changed.')
|
toastr.info('Question access state changed.');
|
||||||
|
} else {
|
||||||
|
toastr.info(data.status);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.always(function () {
|
.always(function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user