Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 842aac5ecb2f44be8cdeee3495eb1a3c5bfd8a5f 1 parent d3cf194
Russell Smith authored
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'));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.