mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Solved bug when updating volatile disk
This commit is contained in:
parent
6929cc3790
commit
07ec523e1e
@ -148,7 +148,11 @@ define(function(require) {
|
||||
|
||||
var tmpl = WizardFields.retrieve(selectedContext);
|
||||
|
||||
if(!tmpl["IMAGE"] && !tmpl["IMAGE_ID"]){
|
||||
if(tmpl.SIZE){
|
||||
tmpl.SIZE = tmpl.SIZE * 1024;
|
||||
}
|
||||
|
||||
if($("input[name='" + this.diskTabId + "']:checked", context).val() == "image" && !tmpl["IMAGE"] && !tmpl["IMAGE_ID"]){
|
||||
return {};
|
||||
}
|
||||
var dev_prefix = WizardFields.retrieveInput($('#disk_dev_prefix', selectedContext));
|
||||
|
Loading…
Reference in New Issue
Block a user