Server IP : 85.193.89.191 / Your IP : 18.118.0.62 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/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