Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-40069 Document editing form changes

  • Loading branch information...
commit 2fe9be7a9e3945549c1ae0471f2c1bd5f7096667 1 parent 32e550a
Colin Chambers authored timhunt committed

Showing 1 changed file with 20 additions and 1 deletion. Show diff stats Hide diff stats

  1. +20 1 question/type/upgrade.txt
21 question/type/upgrade.txt
@@ -9,7 +9,26 @@ This files describes API changes for question type plugins.
9 9 $this->process_submission(array('-finish' => 1));
10 10 you should change that to
11 11 $this->finish();
12   -
  12 +
  13 +For MDL-37417 Question editing form improvements several improvements were made. Including:
  14 +* MDL -32750 Introduced collapsible editor. Editors now collapsed by default in editor options.
  15 + Helper method get_non_collabsible_editor_options()
  16 +* To use screen real estate better related elements were grouped using form grouping where
  17 + possible. Particularly answers/choices.
  18 +* Changed access hide style for elements in group so their labels are visible and related
  19 + static elements could be removed.
  20 +* Add blanks for more repeated elements were made part of the relevant section by adding
  21 + true as the final parameter of the call to repeat_elements();
  22 +* More repeated elements should only be added when requested
  23 +
  24 +* Style is used to visually group field elements. Including choices/answer and multiple tries/hints
  25 +* The new collapsible sections has changed the ids of the headers by adding ‘id_’. This caused
  26 + javascript errors. Adjusted references to in javascript and css.
  27 +* setType() is now required for repeated form elements.
  28 +* The plugin version was changed. These changes are not backward compatible. They require moodle 2.5
  29 +
  30 +A reference example of these changes is
  31 +https://github.com/moodleou/moodle-qtype_pmatch/commit/9d8e1beb9f780246416a0f3a7622f700b8fa90c8
13 32
14 33 === 2.3.5 / 2.4.2 / 2.5 ===
15 34

0 comments on commit 2fe9be7

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