DX-Nytt nr. 905 – 13. januar 2022
“); $(‘#resetPassword-submit’).attr(‘disabled’, ‘disabled’); return false; } if (__progress === 0) { __progress = 1; $(‘#resetPassword-submit’).html(” Vennligst vent…”); $(this).ajaxSubmit({ success: function (res) { __progress = 0; if (res.match(/error/)) { $(‘form .alert’).hide(); $(‘#resetPassword’).prepend(“Konto ikke funnet.”); $(‘#resetPassword-submit’).html(llbl); } else { __reset = 1; $(‘form .alert’).hide(); $(‘#resetPassword’).prepend(“Sjekk innboksen din.”); $(‘#resetPassword-submit’).html(”).attr(‘disabled’, ‘disabled’); } } }); } return false; }); $(‘body’).on(‘click’, […]