HOR-3670
Complete the change of name for XmlFormField classes.
This commit is contained in:
22
workflow/engine/classes/XmlFormFieldPopupOption.php
Normal file
22
workflow/engine/classes/XmlFormFieldPopupOption.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* XmlFormFieldpopupOption - XmlFormFieldPopupOption class
|
||||
*
|
||||
* @package workflow.engine.ProcessMaker
|
||||
*/
|
||||
class XmlFormFieldPopupOption extends XmlFormField
|
||||
{
|
||||
public $launch = '';
|
||||
|
||||
/**
|
||||
* Get Events
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEvents()
|
||||
{
|
||||
$script = '{name:"' . $this->name . '",text:"' . addcslashes($this->label, '\\"') . '", launch:leimnud.closure({Function:function(target){' . $this->launch . '}, args:target})}';
|
||||
return $script;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user