403Webshell
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/calendar/controls/src/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/calendar/controls/src/popupdialog.js
export class PopupDialog {
	constructor(params = {})
	{
		this.id = params.id || 'popup-dialog-' + Math.random();
		this.zIndex = params.zIndex || 3200;
		this.DOM = {};
		this.title = '';
	}

	create()
	{
		this.dialog = new BX.PopupWindow(this.id, null, {
			overlay: {opacity: 10},
			autoHide: true,
			closeByEsc : true,
			zIndex: this.zIndex,
			offsetLeft: 0,
			offsetTop: 0,
			draggable: true,
			bindOnResize: false,
			titleBar: this.getTitle(),
			closeIcon: { right : "12px", top : "10px"},
			className: 'bxc-popup-window',
			buttons: this.getButtons(),
			content: this.getContent(),
			events: {}
		});
	}

	getTitle()
	{
		return this.title;
	}

	getContent()
	{
		this.DOM.content = BX.create('DIV');
		return this.DOM.content;
	}

	getButtons()
	{
		this.buttons = [];
		return this.buttons;
	}

	show(params)
	{
		if (!this.dialog)
		{
			this.create();
		}
		this.dialog.show();
	}

	close()
	{
		if (this.dialog)
		{
			this.dialog.close();
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit