16 define(
'MODAL_WIDTH_DEFAULT',
'710');
17 define(
'MODAL_WIDTH_AUTO',
'auto');
19 import(
'lib.pkp.classes.linkAction.request.LinkActionRequest');
50 function __construct($title =
null, $titleIcon =
null, $canClose =
true,
51 $closeOnFormSuccessId =
null, $closeCleanVueInstances = []) {
52 parent::__construct();
53 $this->_title = $title;
54 $this->_titleIcon = $titleIcon;
55 $this->_canClose = $canClose;
56 $this->_closeOnFormSuccessId = $closeOnFormSuccessId;
57 $this->_closeCleanVueInstances = $closeCleanVueInstances;
59 $this->_closeButtonText = __(
'common.closePanel');
94 return $this->_closeButtonText;
105 return '$.pkp.classes.linkAction.ModalRequest';
116 'closeOnFormSuccessId' => $this->_closeOnFormSuccessId,
117 'closeCleanVueInstances' => $this->_closeCleanVueInstances,