Drupal9: show success text
This commit is contained in:
parent
19343d35f3
commit
51046b8121
@ -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 () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user