MDL-87149 mod_feedback: Do not use .feedback_is_dependent anymore
Making a visual distinction for dependent questions compared to other questions does not add much value in the perspective of users. We should just stop adding the `.feedback_is_dependent` class for dependent questions.
This commit is contained in:
@@ -282,9 +282,6 @@ class mod_feedback_complete_form extends moodleform {
|
||||
*/
|
||||
protected function get_suggested_class($item) {
|
||||
$class = "feedback_itemlist feedback-item-{$item->typ}";
|
||||
if ($item->dependitem) {
|
||||
$class .= " feedback_is_dependent";
|
||||
}
|
||||
if ($item->typ !== 'pagebreak') {
|
||||
$itemobj = feedback_get_item_class($item->typ);
|
||||
if ($itemobj->get_hasvalue()) {
|
||||
|
||||
Reference in New Issue
Block a user