From 51046b81215446b93d89699494663fe9f9a417e2 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 8 Sep 2022 16:06:29 +0200 Subject: [PATCH] Drupal9: show success text --- frontend/drupal9/web/themes/custom/pro1ka/js/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/drupal9/web/themes/custom/pro1ka/js/login.js b/frontend/drupal9/web/themes/custom/pro1ka/js/login.js index cd953a43c..ee3cd30c9 100644 --- a/frontend/drupal9/web/themes/custom/pro1ka/js/login.js +++ b/frontend/drupal9/web/themes/custom/pro1ka/js/login.js @@ -68,7 +68,7 @@ jQuery('#modal-lost-password .w-form-fail').hide(); if (val.type == 'success') { - jQuery('#modal-lost-password .w-form-done').html('
' + val.text + '
').show(); + jQuery('#modal-lost-password .w-form-done').html('
' + val.data.text + '
').show(); // Če je bil email uspešno poslal potem okno zapremo po 5 sekundah setTimeout(function () {