|
|
@@ -106,11 +106,11 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
|
|
|
|
|
|
//deaktivate createVM Button in case of lack of ressources
|
|
|
if($resurceManager->disk()->free() < $resurceManager->disk()->getMin() || $resurceManager->vcpus()->free() < $resurceManager->vcpus()->getMin() || $resurceManager->memory()->free() < $resurceManager->memory()->getMin()) {
|
|
|
- $this->createButton->addHtmlAttribute("disabled",true);
|
|
|
+// $this->createButton->addHtmlAttribute("disabled",true);
|
|
|
//delete sidebar button
|
|
|
sl("sidebar")->getSidebar("virtualMachinesProxmoxCloudVps")->getChild("vmcreate")->delete();
|
|
|
} else {
|
|
|
- $this->createButton->addHtmlAttribute("enabled",true);
|
|
|
+// $this->createButton->addHtmlAttribute("enabled",true);
|
|
|
}
|
|
|
}
|
|
|
|