@@ -790,7 +792,7 @@
?>
-
|
+
|
@@ -1135,7 +1137,7 @@
if ($arrGPU['id'] == 'virtual') {
?>
-
|
+
|
} else {?>
|
}?>
@@ -1474,7 +1476,7 @@
| _(USB Devices)_: |
-
+
if (!empty($arrVMUSBs)) {
foreach($arrVMUSBs as $i => $arrDev) {
@@ -1482,7 +1484,7 @@
+ =htmlspecialchars(substr($arrDev['name'],0,90))?> (=htmlspecialchars($arrDev['id'])?>)
}
@@ -1507,7 +1509,7 @@
| _(Other PCI Devices)_: |
-
+
$intAvailableOtherPCIDevices = 0;
@@ -1581,7 +1583,7 @@
if ($arrConfig['qemucmdline'] == "") $qemurows = 2 ; else $qemurows = 15 ;
?>
- | |
+ |
@@ -1603,7 +1605,7 @@
?>
-
| | |
+
| | |
$clockcount = 0 ;
if (!empty($arrClocks)) {
@@ -1673,6 +1675,19 @@
Click Create to generate the vDisks and return to the Virtual Machines page where your new VM will be created.
}?>
+
+
+
+
+ | _(Other XML)_: |
+
+ if ($arrConfig['qemucmdline'] == "") $qemurows = 2 ; else $qemurows = 15 ;
+ ?>
+
+ |
+
+
+
@@ -1937,8 +1952,9 @@ $(function() {
$('.advancedview').change(function () {
if ($(this).is(':checked')) {
setTimeout(function() {
- var h = window.outerHeight - 550;
- editor.setSize(null,h );
+ var xmlPanelHeight = window.outerHeight - 550;
+ if (xmlPanelHeight < 0) xmlPanelHeight = null;
+ editor.setSize(null,xmlPanelHeight);
editor.refresh();
}, 100);
}