1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #4913 Added disks without size, when saving the template

This commit is contained in:
juanmont 2017-04-11 12:17:38 +02:00
parent 2338719319
commit 22178e2017

View File

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