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

Merge pull request #254 from juanmont/feature-4913-36-bis

F #4913: Added disks without size, when saving the template
This commit is contained in:
Miguel Cabrerizo 2017-04-12 09:09:28 +02:00 committed by GitHub
commit 99809a147c

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