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/js/rest/ |
Upload File : |
(function(){"use strict";BX.namespace("BX.rest");if(typeof BX.rest.UserField!=="undefined"){return}BX.rest.UserField=function(e,t){this.id=e;this.param={callback:t.callback,value:t.value};this.inited=false;this.init()};BX.rest.UserField.prototype.init=function(){if(this.inited){return}var e=BX.rest.AppLayout.get(this.id);if(!e){return}e.allowInterface(["resizeWindow"]);var t=e.messageInterface;t.setValue=BX.proxy(this.setValue,this);t.getValue=BX.proxy(this.getValue,this);t.resizeWindow=function(e,t){var i=BX(this.params.layoutName);e.height=parseInt(e.height);if(!!e.height){i.style.height=e.height+"px"}var a=BX.pos(i);t({width:a.width,height:a.height})}};BX.rest.UserField.prototype.setValue=function(e,t){this.param.value=e;if(BX.type.isFunction(this.param.callback)){this.param.callback.apply(this,[e])}t()};BX.rest.UserField.prototype.getValue=function(e,t){t(this.param.value)}})(); //# sourceMappingURL=userfield.map.js