Explorar el Código

snapshot jobs

andre hace 4 años
padre
commit
2d73defc9f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/UI/Snapshot/Forms/JobForm.php

+ 2 - 0
app/UI/Snapshot/Forms/JobForm.php

@@ -93,6 +93,8 @@ trait JobForm
         if ($vm instanceof Kvm)
         {
             $field = new Switcher("vmstate");
+            $field->setDefaultValue("off");
+            $field->addClass('hidden');
             $this->addField($field);
         }
         //description