Drupal9: show success text

This commit is contained in:
Robert 2022-09-08 16:06:29 +02:00
parent 19343d35f3
commit 51046b8121

View File

@ -68,7 +68,7 @@
jQuery('#modal-lost-password .w-form-fail').hide(); jQuery('#modal-lost-password .w-form-fail').hide();
if (val.type == 'success') { if (val.type == 'success') {
jQuery('#modal-lost-password .w-form-done').html('<div>' + val.text + '</div>').show(); jQuery('#modal-lost-password .w-form-done').html('<div>' + val.data.text + '</div>').show();
// Če je bil email uspešno poslal potem okno zapremo po 5 sekundah // Če je bil email uspešno poslal potem okno zapremo po 5 sekundah
setTimeout(function () { setTimeout(function () {