fixed file upload
This commit is contained in:
parent
7222f10fe6
commit
18a22ef1c4
|
@ -3988,6 +3988,8 @@ class htmlResponsiveInputFileUpload extends htmlInputFileUpload {
|
|||
private $label;
|
||||
/** help ID */
|
||||
private $helpID;
|
||||
/** help module */
|
||||
private $helpModule = null;
|
||||
/** render HTML of parent class */
|
||||
private $renderParentHtml = false;
|
||||
|
||||
|
@ -4001,8 +4003,14 @@ class htmlResponsiveInputFileUpload extends htmlInputFileUpload {
|
|||
function __construct($name, $label, $helpID = null) {
|
||||
parent::__construct($name);
|
||||
$this->label = htmlspecialchars($label);
|
||||
if (is_string($helpID)) {
|
||||
$this->helpID = $helpID;
|
||||
}
|
||||
elseif (is_array($helpID)) {
|
||||
$this->helpID = $helpID[0];
|
||||
$this->helpModule = $helpID[1];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints the HTML code for this element.
|
||||
|
|
Loading…
Reference in New Issue