Signed-off-by: Jose Ricardo Ziviani <joserz(a)linux.vnet.ibm.com>
---
ui/js/src/kimchi.guest_edit_main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.guest_edit_main.js b/ui/js/src/kimchi.guest_edit_main.js
index 66edbcb..4cee8fe 100644
--- a/ui/js/src/kimchi.guest_edit_main.js
+++ b/ui/js/src/kimchi.guest_edit_main.js
@@ -486,7 +486,7 @@ kimchi.guest_edit_main = function() {
$('.body', '#form-guest-edit-pci').append(itemNode);
pciEnabled || $('button', itemNode).remove();
$('button i', itemNode).addClass(iconClass);
- if (kimchi.thisVMState === "running" &&
(arrPCIDevices[i].multifunction || arrPCIDevices[i].vga3d)) {
+ if (kimchi.thisVMState === "running" &&
arrPCIDevices[i].vga3d) {
$('button', itemNode).prop("disabled", true);
}
$('button', itemNode).on('click', function(event) {
--
2.7.4
Show replies by date