mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-4758: UI > VM wizard > step 2 > show Root Disk Size field when listing is templates, hide Root Disk Size field when listing is ISOs.
This commit is contained in:
parent
5bcd8280fd
commit
1d1f585079
@ -238,8 +238,12 @@
|
||||
templates: templatesObj,
|
||||
hypervisors: hypervisorObjs
|
||||
},
|
||||
customHidden: function(args) {
|
||||
return true;
|
||||
customHidden: function(args) {
|
||||
if (selectedTemplate == 'select-template') {
|
||||
return false; //show Root Disk Size field
|
||||
} else { //selectedTemplate == 'select-iso'
|
||||
return true; //hide Root Disk Size field
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user