MDL-47980 gradebook: fixed label for bulk insert select box

This commit is contained in:
Jetha Chan 2014-11-06 16:37:23 +08:00
parent f2db391f59
commit b7ee86966b

View File

@ -95,10 +95,16 @@ class bulk_insert extends element {
$selectlabel = html_writer::label(
$insertappliesto,
$this->selectname
'menu' . $this->selectname
);
$select = html_writer::select(
$insertoptions, $this->selectname, 'blanks', false
$insertoptions,
$this->selectname,
'blanks',
false,
array(
'id' => 'menu' . $this->selectname
)
);
$textlabel = html_writer::label(