File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/im/install/js/im/call/settings_popup.min.js
Back
(function(){BX.namespace("BX.Call");if(BX.Call.SettingsPopup){return}BX.Call.SettingsPopup=function(t){t=BX.type.isPlainObject(t)?t:{};this.bindElement=t.bindElement;this.elements={root:null,input:null};this.url=t.url||"";this.popup=null;this.callbacks={onDestroy:BX.type.isFunction(t.onDestroy)?t.onDestroy:BX.DoNothing}};BX.Call.SettingsPopup.prototype={show:function(){if(!this.elements.root){this.render()}this.createPopup();this.popup.show()},close:function(){if(this.popup){this.popup.close()}},createPopup:function(){var t=this;this.popup=new BX.PopupWindow("bx-call-popup-settings",this.bindElement,{targetContainer:document.body,lightShadow:true,autoHide:true,closeByEsc:true,closeIcon:true,content:this.elements.root,bindOptions:{position:"top"},titleBar:BX.message("IM_CALL_SETTINGS_LINK"),angle:{position:"bottom",offset:49},contentNoPaddings:true,contentColor:"white",buttons:[new BX.PopupWindowButton({text:BX.message("IM_CALL_SETTINGS_COPY"),events:{click:function(t){this.elements.input.select();document.execCommand("copy");this.close()}.bind(this)}})],events:{onPopupClose:function(){this.destroy()},onPopupDestroy:function(){t.popup=null;t.callbacks.onDestroy()}}})},render:function(){this.elements.root=BX.create("div",{props:{className:"bx-call-settings-container"},children:[BX.create("div",{props:{className:"bx-messenger-popup-newchat-box bx-messenger-popup-newchat-dest bx-messenger-popup-newchat-dest-even"},children:[this.elements.input=BX.create("input",{props:{className:"bx-messenger-input"},attrs:{value:this.url,readonly:"readonly"}})]})]})}}})(); //# sourceMappingURL=settings_popup.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.29 |
proxy
|
phpinfo
|
Settings