mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
mod/exercise: HTML fixes
Fixed errors in HTML causing parser errors in Firefox when in developers debug mode. Author: Matt Clarkson <mattc@catalyst.net.nz>
This commit is contained in:
parent
04bc70fc26
commit
f8c609e4a9
3 changed files with 23 additions and 22 deletions
|
@ -101,7 +101,7 @@ function exercise_choose_from_menu ($options, $name, $selected="", $nothing="cho
|
|||
$javascript = "";
|
||||
}
|
||||
|
||||
$output = "<select name=$name $javascript>\n";
|
||||
$output = "<select name=\"$name\" $javascript>\n";
|
||||
if ($nothing) {
|
||||
$output .= " <option value=\"$nothingvalue\"\n";
|
||||
if ($nothingvalue == $selected) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue