Fix default value for orientation in draggable question - refs BT#12625 BT#12712

remotes/angel/1.11.x
Angel Fernando Quiroz Campos 8 years ago
parent 1f68292b90
commit ab271c0780
  1. 2
      main/exercise/Draggable.php

@ -158,6 +158,8 @@ class Draggable extends Question
if (!empty($this->id)) {
$form->setDefaults($defaults);
} else {
$form->setDefaults(['orientation' => 'h']);
if ($this->isContent == 1) {
$form->setDefaults($defaults);
}

Loading…
Cancel
Save