Browse files

MDL-38079 mod_feedback - Hide "add question to activity" button

  • Loading branch information...
1 parent f5dd4b4 commit 8fb30e9d1ff10e97feac628f19838efba01856d5 Russell Smith committed Jun 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/feedback/edit_form.php
View
2 mod/feedback/edit_form.php
@@ -48,7 +48,7 @@ public function definition() {
$mform->setType('position', PARAM_INT);
// buttons
- $mform->addElement('submit', 'add_item', get_string('add_item', 'feedback'));
+ $mform->addElement('submit', 'add_item', get_string('add_item', 'feedback'), array('class' => 'hiddenifjs'));
}
}

0 comments on commit 8fb30e9

Please sign in to comment.