From: moodler Date: Mon, 1 Sep 2008 06:17:23 +0000 (+0000) Subject: MDL-15348 Make sure the filepicker element shows a label X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=41ebc6d31c36e0b45700b960923148602e775a07;p=moodle.git MDL-15348 Make sure the filepicker element shows a label --- diff --git a/lib/form/filepicker.php b/lib/form/filepicker.php index 216dc2c18a..b577a21f93 100644 --- a/lib/form/filepicker.php +++ b/lib/form/filepicker.php @@ -18,6 +18,7 @@ class MoodleQuickForm_filepicker extends HTML_QuickForm_button var $_helpbutton=''; function MoodleQuickForm_filepicker($elementName=null, $value=null, $filearea=null, $attributes=null) { + HTML_QuickForm_input::HTML_QuickForm_input($elementName, $value, $attributes); // Set label cause button doesn't parent::HTML_QuickForm_button($elementName, $value, $attributes); $this->_filearea = $filearea; }