PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
js
"use strict";class customLogin{constructor(){this._changeDefaultErrorMessage(),this._initLogin()}_initLogin(){jQuery("form#custom-login, form#custom-register").on("submit",function(a){if(!$(this).valid())return!1;$("p.status",this).show().text(besa_ajax_auth_object.loadingmessage);var e="ajaxlogin",t=$("form#custom-login #cus-username").val(),s=$("form#custom-login #cus-password").val(),o=!!$("#cus-rememberme").is(":checked"),r="";if(i=$("form#custom-login #security").val(),"custom-register"==$(this).attr("id")){e="ajaxregister",t=$("#signonname").val(),s=$("#signonpassword").val(),r=$("#signonemail").val();var i=$("#signonsecurity").val()}var u=$(this);$.ajax({type:"POST",dataType:"json",url:besa_ajax_auth_object.ajaxurl,data:{action:e,username:t,password:s,email:r,rememberme:o,security:i},success:function(a){$("p.status",u).text(a.message),1==a.loggedin?($("p.status",u).addClass("successful"),document.location.reload()):$("p.status",u).addClass("wrong")}}),a.preventDefault()}),jQuery("#custom-register").length?jQuery("#custom-register").validate({rules:{password2:{equalTo:"#signonpassword"}}}):jQuery("#custom-login").length&&jQuery("#custom-login").validate()}_changeDefaultErrorMessage(){jQuery.extend(jQuery.validator.messages,{required:besa_ajax_auth_object.validate.required,remote:besa_ajax_auth_object.validate.remote,email:besa_ajax_auth_object.validate.email,url:besa_ajax_auth_object.validate.url,date:besa_ajax_auth_object.validate.date,dateISO:besa_ajax_auth_object.validate.dateISO,number:besa_ajax_auth_object.validate.number,digits:besa_ajax_auth_object.validate.digits,creditcard:besa_ajax_auth_object.validate.creditcard,equalTo:besa_ajax_auth_object.validate.equalTo,accept:besa_ajax_auth_object.validate.accept,maxlength:jQuery.validator.format(besa_ajax_auth_object.validate.maxlength),minlength:jQuery.validator.format(besa_ajax_auth_object.validate.minlength),rangelength:jQuery.validator.format(besa_ajax_auth_object.validate.rangelength),range:jQuery.validator.format(besa_ajax_auth_object.validate.range),max:jQuery.validator.format(besa_ajax_auth_object.validate.max),min:jQuery.validator.format(besa_ajax_auth_object.validate.min)})}}jQuery(document).ready(function(a){new customLogin});
[+]
..
[-] woocommerce.js
[edit]
[-] jquery.magnific-popup.min.js
[edit]
[-] jquery.countdownTimer.js
[edit]
[-] custom-slick.js
[edit]
[-] jquery.time-to.min.js
[edit]
[-] jquery.timeago.js
[edit]
[-] bootstrap.min.js
[edit]
[-] ajax-auth-script.min.js
[edit]
[-] jquery.onepagenav.min.js
[edit]
[-] jquery.treeview.js
[edit]
[-] ajax-auth-script.js
[edit]
[-] jquery.mmenu.min.js
[edit]
[-] functions.min.js
[edit]
[-] detectmobilebrowser.min.js
[edit]
[-] customize-preview.js
[edit]
[-] slick.js
[edit]
[-] jquery.fastclick.min.js
[edit]
[-] jquery.validate.js
[edit]
[-] functions.js
[edit]
[-] jquery.sumoselect.js
[edit]
[-] jquery.treeview.min.js
[edit]
[-] jquery.countdownTimer.min.js
[edit]
[-] jquery.instagramfeed.min.js
[edit]
[-] jquery.autocomplete.js
[edit]
[-] jquery.fastclick.js
[edit]
[-] jquery.sumoselect.min.js
[edit]
[-] color-scheme-control.js
[edit]
[-] custom-slick.min.js
[edit]
[-] jquery.mmenu.js
[edit]
[-] html5.min.js
[edit]
[-] js.cookie.js
[edit]
[-] slick.min.js
[edit]
[-] bootstrap.js
[edit]
[-] jquery.instagramfeed.js
[edit]
[-] color-scheme-control.min.js
[edit]
[-] jquery.timeago.min.js
[edit]
[-] html5.js
[edit]
[+]
admin
[-] jquery.time-to.js
[edit]
[-] customize-preview.min.js
[edit]
[-] detectmobilebrowser.js
[edit]
[-] skip-link-fix.js
[edit]
[-] woocommerce.min.js
[edit]
[-] jquery.autocomplete.min.js
[edit]
[-] jquery.onepagenav.js
[edit]
[-] popper.min.js
[edit]
[-] popper.js
[edit]
[-] jquery.validate.min.js
[edit]
[-] skip-link-fix.min.js
[edit]
[-] js.cookie.min.js
[edit]