Commit 233753f8 authored by Dietmar Maurer's avatar Dietmar Maurer

disable move disk button for unused volumes.

Move for unused volumes is not implememnted.
parent ae547d21
......@@ -290,7 +290,7 @@ Ext.define('PVE.qemu.HardwareView', {
selModel: sm,
disabled: true,
enableFn: function(rec) {
if (!rec) {
if (!rec || rec.data.key.match(/^unused\d+/)) {
return false;
}
var rowdef = rows[rec.data.key];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment