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/landing/ui/tool/ |
Upload File : |
;(function() { "use strict"; BX.namespace("BX.Landing.UI.Tool"); var isString = BX.Landing.Utils.isString; var isEmpty = BX.Landing.Utils.isEmpty; var addClass = BX.Landing.Utils.addClass; /** * Implements interface for works with BX.PopupWindow * @extends {BX.PopupWindow} * @param {object} options * @constructor * * @deprecated Do not use it * @see BX.Main.Popup */ BX.Landing.UI.Tool.Popup = function(options) { options.bindElement = options.bindElement || null; BX.PopupWindow.apply(this, [options.id, options.bindElement, options]); addClass(this.popupContainer, "landing-ui-popup"); if (!isEmpty(options.className) && isString(options.className)) { addClass(this.popupContainer, options.className); } }; BX.Landing.UI.Tool.Popup.prototype = { constructor: BX.Landing.UI.Tool.Popup, __proto__: BX.PopupWindow.prototype, show: function() { BX.PopupWindow.prototype.show.call(this); return Promise.resolve(); }, close: function() { BX.PopupWindow.prototype.close.call(this); return Promise.resolve(); } } })();