fix disk image select id assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
bd92558d66
commit
c5224b71dc
@ -172,7 +172,7 @@ async function addDiskLine (fieldset, busPrefix, busName, device, diskDataParsed
|
||||
diskImageSelect.add(new Option(element.volid.replace(`${storage}:iso/`, ""), element.volid));
|
||||
});
|
||||
diskImageSelect.value = diskDataParsed.filename;
|
||||
pathInput.id = `${busPrefix}_${device}_img`;
|
||||
diskImageSelect.id = `${busPrefix}_${device}_img`;
|
||||
diskImageSelect.style.gridColumn = "auto / span 2";
|
||||
field.append(diskImageSelect);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user