Commit 10917b12 authored by Dries's avatar Dries
Browse files

- Patch #6470 by Brian: fixed XHTML error with multiple selection boxes.
parent 73ab05f4
......@@ -627,7 +627,7 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
$size = min(12, count($options));
return form_item($title, "<select name=\"edit[$name][]\"". ($multiple ? " multiple size=\"$size\"" : "") . ($extra ? " $extra" : "") .">$select</select>", $description);
return form_item($title, "<select name=\"edit[$name][]\"". ($multiple ? " multiple=\"multiple\" size=\"$size\"" : "") . ($extra ? " $extra" : "") .">$select</select>", $description);
}
}
......
......@@ -627,7 +627,7 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
$size = min(12, count($options));
return form_item($title, "<select name=\"edit[$name][]\"". ($multiple ? " multiple size=\"$size\"" : "") . ($extra ? " $extra" : "") .">$select</select>", $description);
return form_item($title, "<select name=\"edit[$name][]\"". ($multiple ? " multiple=\"multiple\" size=\"$size\"" : "") . ($extra ? " $extra" : "") .">$select</select>", $description);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment