Explorar el Código

disable iso selection field

andre hace 4 años
padre
commit
b81a669b79
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/UI/VmCreate/Fields/OsTemplateSelect.php

+ 2 - 2
app/UI/VmCreate/Fields/OsTemplateSelect.php

@@ -25,13 +25,13 @@ class OsTemplateSelect extends Select implements ClientArea
         {
             $this->loadQemuTemplates();
 
-            if ($advancedUser->isAdvanced() || $this->configuration()->isPermissionIsoImage())
+/*            if ($advancedUser->isAdvanced() || $this->configuration()->isPermissionIsoImage())
             {
                 $this->availableValues[] = [
                     "key"   => 'installationFromIso',
                     "value" => sl('lang')->abtr('Installation From ISO'),
                 ];
-            }
+            } */
             if($this->availableValues[0]['key']=="installationFromIso"){
                 $this->callBackFunction = 'pcOsTemplateLoadShowIsoFields';
             }