DX-Nytt nr. 970 – 13. april 2023
“); $(‘#loginform-submit’).html(llbl).removeAttr(‘disabled’); }, success: async function (res) { WPDM.unblockUI(‘#loginform’); if (!res.success) { $(‘form .alert-danger’).hide(); $(‘#loginform’).prepend(“”+res.message+””); $(‘#loginform-submit’).html(llbl).removeAttr(‘disabled’); } else { await WPDM.doAction(“wpdm_user_login”, res); $(‘#loginform-submit’).html(” “+res.message); $(‘#loginform-submit’).html(WPDM.html(“i”, “”, “fa fa-sun fa-spider”) + ” ” + res.message); setTimeout(function () { location.href = “/medlem/medlemsfordeler/dx-nytt/dx-nytt-nr-970”; }, 1000); location.href = “/medlem/medlemsfordeler/dx-nytt/dx-nytt-nr-970”; } } }); return false; }); $(‘body’).on(‘click’, ‘form .alert-danger’, function(){ […]