uawdijnntqw1x1x1
IP : 3.16.137.217
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
axolotl.ru
/
www
/
bitrix
/
js
/
imconnector
/
..
/
ipol.fivepost
/
wndController.js
/
/
/** * Created by Mebiys on 04.06.2017. */ function i5post_wndController(params) { var self = this; var defaultParams = { title: "", content: "", icon: "head-block", resizable: true, draggable: true, height: '500', width: '500', buttons: [] }; var wndLink = false; init(); // private function init(params){ if(typeof(params) === 'undefined') params = defaultParams; var obSetups = {}; for(var i in defaultParams) obSetups[i] = getOpt(i); wndLink = new BX.CDialog(obSetups); } // service function checkOpt(wat){ return (typeof(params[wat]) !== 'undefined'); } function getOpt(wat){ return (checkOpt(wat)) ? params[wat] : defaultParams[wat]; } function checkReady(action) { if(self.getWnd()) return true; else{ var title = (getOpt('title')) ? 'of title "'+getOpt('title')+'" ' : ''; action = (typeof(action) === 'undefined') ? '' : ' for '+action; console.warn('Window object '+title+'is not ready'+action); return false; } } // public this.getWnd = function(){ return wndLink; }; this.open = function(){ if(checkReady('open')) self.getWnd().Show(); }; this.setContent = function(content){ if(checkReady('adding content')) self.getWnd().SetContent(content); }; this.close = function(){ if(checkReady('close')) self.getWnd().Close(); }; }
/var/www/axolotl/data/www/axolotl.ru/www/bitrix/js/imconnector/../ipol.fivepost/wndController.js