MDL-47494 ddimageortext: DD markers / onto image: form, drag items before drop zones. #12656

That is a more logical order, and now that sections of the form are
collapsible, it is not necessary to put the drop zones right beside
the preview.
This commit is contained in:
Tim Hunt
2014-12-02 18:02:48 +00:00
parent 51c3521aa5
commit 145f46ed28
@@ -67,11 +67,10 @@ abstract class qtype_ddtoimage_edit_form_base extends question_edit_form {
null, self::file_picker_options());
$mform->closeHeaderBefore('dropzoneheader');
// Add the draggable image fields & drop zones to the form.
list($itemrepeatsatstart, $imagerepeats) = $this->get_drag_item_repeats();
$this->definition_drop_zones($mform, $imagerepeats);
// Add the draggable image fields to the form.
$this->definition_draggable_items($mform, $itemrepeatsatstart);
$this->definition_drop_zones($mform, $imagerepeats);
$this->add_combined_feedback_fields(true);
$this->add_interactive_settings(true, true);