Changed confirmation text when successfull response from api.
This commit is contained in:
@@ -27,7 +27,7 @@ $("#searchForm").submit(function(e) {
|
|||||||
url: url,
|
url: url,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
Materialize.toast('Verification successfully sent!', 4000);
|
Materialize.toast('Episode successfully verified and moved!', 4000);
|
||||||
},
|
},
|
||||||
error: function(data) {
|
error: function(data) {
|
||||||
Materialize.toast(data.responseJSON.error, 4000);
|
Materialize.toast(data.responseJSON.error, 4000);
|
||||||
|
|||||||
Reference in New Issue
Block a user