Commit 8d15ca1f authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Annotation: Change to switchbox (Bug #1431569)"

parents 5dc94ee8 80c5b32c
......@@ -214,7 +214,7 @@ class PluginBlocktypeAnnotation extends SystemBlocktype {
'help' => true,
),
'allowfeedback' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('allowannotationfeedback', 'artefact.annotation'),
'defaultvalue' => (!empty($artefact) ? $artefact->get('allowcomments') : 1),
),
......
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