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/js/bitrixcloud/ |
Upload File : |
BX.namespace("BX.BitrixCloud");BX.BitrixCloud.MobileMonitor=function(e,t){this.app=e;this.ajaxUrl="";if(BX.Type.isObject(t)){this.ajaxUrl=t.ajaxUrl||""}this.deleteSite=function(e){const t={domain:e,action:"delete",sessid:BX.bitrix_sessid()};this.app.showPopupLoader({text:`${BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_DELETING")}...`});BX.ajax({timeout:30,method:"POST",dataType:"json",url:this.ajaxUrl,data:t,onsuccess:BX.delegate((t=>{this.app.hidePopupLoader();if(t&&!t.ERROR){this.app.onCustomEvent("onAfterBCMMSiteDelete",{domain:e});BX.onCustomEvent("onAfterBCMMSiteDelete",[{domain:e}])}else if(t.ERROR){this.app.alert({text:t.ERROR})}else{this.app.alert({text:BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_DEL_ERROR")})}}),this),onfailure:BX.delegate((()=>{this.app.alert({text:BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_DEL_ERROR")})}),this)})};this.updateSite=function(e,t){const s=t;s.domain=e;s.action="update";s.sessid=BX.bitrix_sessid();this.app.showPopupLoader({text:`${BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_SAVING")}...`});BX.ajax({timeout:30,method:"POST",dataType:"json",url:this.ajaxUrl,data:s,onsuccess:t=>{this.app.hidePopupLoader();if(t&&!t.ERROR){this.app.onCustomEvent("onAfterBCMMSiteUpdate",{domain:e});BX.onCustomEvent("onAfterBCMMSiteUpdate",[{domain:e}])}else if(t.ERROR){this.app.alert({text:t.ERROR})}else{this.app.alert({text:BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_SAVE_ERROR")})}},onfailure:()=>{this.app.alert({text:BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_SAVE_ERROR")})}})};this.showRefreshing=function(){this.app.showPopupLoader({text:`${BX.Loc.getMessage("BCL_MOBILE_MONITORING_SITE_REFRESHING")}...`})}}; //# sourceMappingURL=mobile_monitoring.map.js