Skip to content
Browse files

MDL-38243 mod_assessment: make assessment forms non-collapsible

  • Loading branch information...
1 parent f29e62c commit ae9fe89afa3605c70145cd8b81269549a3ea6519 @kabalin kabalin committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/workshop/form/assessment_form.php
View
3 mod/workshop/form/assessment_form.php
@@ -58,6 +58,9 @@ public function definition() {
$this->workshop = $this->_customdata['workshop']; // instance of the workshop api class
$this->options = $this->_customdata['options']; // array with addiotional options
+ // Disable shortforms
+ $mform->setDisableShortforms();
+
// add the strategy-specific fields
$this->definition_inner($mform);

0 comments on commit ae9fe89

Please sign in to comment.
Something went wrong with that request. Please try again.