Ver Fonte

try to fix the detailed view

andre há 4 anos atrás
pai
commit
ac67a6ce3e
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

+ 2 - 2
app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

@@ -166,13 +166,13 @@ class GeneralSection extends BaseSection
         //boot device 2
         //boot device 2
         $field = new Select("bootOrder1");
         $field = new Select("bootOrder1");
         $field->notEmpty();
         $field->notEmpty();
-        $field->setDefaultValue('None');
+        $field->setDefaultValue(0);
         $field->addClass('hidden');
         $field->addClass('hidden');
         $this->addField($field);
         $this->addField($field);
         //boot device 3
         //boot device 3
         $field = new Select("bootOrder2");
         $field = new Select("bootOrder2");
         $field->notEmpty();
         $field->notEmpty();
-        $field->setDefaultValue('None');
+        $field->setDefaultValue(0);
         $field->addClass('hidden');
         $field->addClass('hidden');
         $this->addField($field);
         $this->addField($field);
     }
     }