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

B #5129 Added disks without size, when saving the template (#277)

This commit is contained in:
juanmont 2017-04-25 12:50:38 +02:00 committed by Tino Vázquez
parent 99fce5b3ec
commit 5a268171aa

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));