mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only.
This commit is contained in:
parent
b282e815d5
commit
1cc1fa2425
3 changed files with 3 additions and 3 deletions
|
@ -137,7 +137,7 @@ class question_truefalse_qtype extends default_questiontype {
|
|||
$cmoptions, $options) {
|
||||
global $CFG;
|
||||
|
||||
$readonly = $options->readonly ? ' readonly="readonly"' : '';
|
||||
$readonly = $options->readonly ? ' disabled="disabled"' : '';
|
||||
$formatoptions->noclean = true;
|
||||
$formatoptions->para = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue