Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/wizards/bitrix/perfmon.utf8/js/ |
Upload File : |
(function(){BX.namespace("BX.Wizard");BX.Wizard.Utf8={nextButtonID:"",formID:"",LANG:"",path:"",sessid:"",sourceEncoding:"",skipLinks:"",init(t){if(BX.Type.isObject(t)){this.nextButtonID=t.nextButtonID||"";this.formID=t.formID||"";this.LANG=t.LANG;this.path=t.path||"";this.sessid=t.sessid||"";this.sourceEncoding=t.sourceEncoding||"";this.skipLinks=t.skipLinks||""}},action(t,e=""){BX.ajax({method:"POST",dataType:"html",url:`${this.path}/scripts/${t}.php`,data:{sessid:this.sessid,lang:this.LANG,sourceEncoding:this.sourceEncoding,skipLinks:this.skipLinks,next:e},onsuccess:BX.delegate((t=>{const e=document.getElementById("output");if(e){e.innerHTML=t;if(t.includes("utf8wiz_err")){document.forms[this.formID].NextStepID.value=document.forms[this.formID].CurrentStepID.value;const t=document.forms[this.formID][this.nextButtonID];t.disabled=false;t.value=BX.Loc.getMessage("UTFWIZ_RETRYSTEP_BUTTONTITLE")}}}),this),onfailure:BX.delegate(((t,e,s)=>{const n=document.getElementById("output");if(n){n.innerHTML=BX.Loc.getMessage("UTFWIZ_FIX_AND_RETRY");document.forms[this.formID].NextStepID.value=document.forms[this.formID].CurrentStepID.value;const t=document.forms[this.formID][this.nextButtonID];t.disabled=false;t.value=BX.Loc.getMessage("UTFWIZ_RETRYSTEP_BUTTONTITLE")}}),this)})},RunError(){const t=document.getElementById("error_message");if(t){BX.Dom.style(t,"display","inline")}},RunAgain(){const t=document.getElementById("output");const e=document.getElementById("error_message");t.innerHTML="";BX.Dom.style(e,"display","none");window.Run(1)},DisableButton(t){const e=document.forms[this.formID][this.nextButtonID];e.disabled=true},EnableButton(){const t=document.forms[this.formID][this.nextButtonID];t.disabled=false}}})(); //# sourceMappingURL=wizard.map.js