mirror of
https://github.com/moodle/moodle.git
synced 2025-04-06 00:42:44 +02:00
MDL-63773 assignfeedback_comments: switch instance form to hideIf
This commit is contained in:
parent
a029b9aff5
commit
540a0e23f1
@ -259,7 +259,7 @@ class assign_feedback_comments extends assign_feedback_plugin {
|
||||
$mform->addHelpButton('assignfeedback_comments_commentinline', 'commentinline', 'assignfeedback_comments');
|
||||
$mform->setDefault('assignfeedback_comments_commentinline', $default);
|
||||
// Disable comment online if comment feedback plugin is disabled.
|
||||
$mform->disabledIf('assignfeedback_comments_commentinline', 'assignfeedback_comments_enabled', 'notchecked');
|
||||
$mform->hideIf('assignfeedback_comments_commentinline', 'assignfeedback_comments_enabled', 'notchecked');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user