Файловый менеджер - Редактировать - /home/kunzqhe/photostocker/wp-content/themes/themify-ultra/themify/themify-builder/js/modules/signup-form.min.js
Назад
(($,o)=>{"use strict";o.body.on("submit.tb_signup",".tb_signup_form",function(e){e.preventDefault();const r=$(this),s=r.find("button"),t={nonce:r.find('input[name="nonce"]').val(),action:"tb_signup_process",data:r.serialize()};s.prop("disabled",!0),r.find(".tb_signup_errors").removeClass("tb_signup_errors").empty(),r.find(".tb_signup_success").hide(),o.fetch(t).then(t=>{if(t.err){const n=this.tfClass("tb_signup_messages")[0];n.classList.add("tb_signup_errors");for(let s=t.err.length-1;-1<s;--s){let e=document.createElement("div");e.innerText=t.err[s],n.appendChild(e)}}else{r.find(".tb_signup_success").fadeIn();const e=r.find('input[name="redirect"]')[0];if(e){const s=e.value,i=window.location;""!==s?i.href=s:i.reload(!0)}else this.reset()}o.scrollTo(r.offset().top-100)}).finally(()=>{s.prop("disabled",!1)})})})(jQuery,Themify);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка