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/ilovecveti.ru/bitrix/wizards/bitrix/perfmon.pgsql/js/ |
Upload File : |
(function(){BX.namespace("BX.Wizard");BX.Wizard.PgSql={nextButtonID:"",formID:"",LANG:"",path:"",sessid:"",connection:"",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.connection=t.connection||""}},action(t,e=""){BX.ajax({method:"POST",dataType:"html",url:`${this.path}/scripts/${t}.php`,data:{sessid:this.sessid,lang:this.LANG,connection:this.connection,next:e},onsuccess:BX.delegate((t=>{const e=document.getElementById("output");if(e){e.innerHTML=t;if(t.includes("pgwiz_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("PGWIZ_RETRYSTEP_BUTTONTITLE")}}}),this),onfailure:BX.delegate(((t,e,n)=>{const s=document.getElementById("output");if(s){s.innerHTML=BX.Loc.getMessage("PGWIZ_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("PGWIZ_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(){const t=document.forms[this.formID][this.nextButtonID];t.disabled=true},EnableButton(){const t=document.forms[this.formID][this.nextButtonID];t.disabled=false}}})(); //# sourceMappingURL=wizard.map.js