Changed confirmation text when successfull response from api.

This commit is contained in:
2017-05-19 10:49:15 +02:00
parent c8090dfb96
commit 197a41bfd8

View File

@@ -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);