1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-13 12:58:17 +03:00

Merge pull request #384 from abelCoronado93/bug-5209

B #5209 Solved bug on attach disk VM
This commit is contained in:
Javi Fontan 2017-07-11 10:15:10 +02:00 committed by GitHub
commit 97e07139e8

View File

@ -147,10 +147,8 @@ define(function(require) {
}
var tmpl = WizardFields.retrieve(selectedContext);
if(tmpl["SIZE"]){
tmpl["SIZE"] = tmpl["SIZE"] * 1024;
}
else if(!tmpl["IMAGE"] && !tmpl["IMAGE_ID"]){
if(!tmpl["IMAGE"] && !tmpl["IMAGE_ID"]){
return {};
}
var dev_prefix = WizardFields.retrieveInput($('#disk_dev_prefix', selectedContext));