Commit 80c5b32c authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Annotation: Change to switchbox (Bug #1431569)



Change-Id: I91b8b698a0aa9d3aa828ce85f93973a205d5bdb2
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 1725ae01
......@@ -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