X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLComboboxField.php;h=3f63c18eed9d3b00ced55ed63f822e794cc02c41;hb=de374ac282c66e0141ea5c9979130e80a69b9f28;hp=0c3bc5a913d56087d9a6ee65e03a5f522b699734;hpb=47437e0653542aae57ea456b24486efb48ee8aac;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLComboboxField.php b/includes/htmlform/fields/HTMLComboboxField.php index 0c3bc5a913..3f63c18eed 100644 --- a/includes/htmlform/fields/HTMLComboboxField.php +++ b/includes/htmlform/fields/HTMLComboboxField.php @@ -25,7 +25,7 @@ class HTMLComboboxField extends HTMLTextField { return $attribs; } - function getInputHTML( $value ) { + public function getInputHTML( $value ) { $datalist = new XmlSelect( false, $this->mName . '-datalist' ); $datalist->setTagName( 'datalist' ); $datalist->addOptions( $this->getOptions() ); @@ -33,7 +33,7 @@ class HTMLComboboxField extends HTMLTextField { return parent::getInputHTML( $value ) . $datalist->getHTML(); } - function getInputOOUI( $value ) { + public function getInputOOUI( $value ) { $disabled = false; $allowedParams = [ 'tabindex' ]; $attribs = OOUI\Element::configFromHtmlAttributes(