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:
commit
97e07139e8
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user