mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6170 (when the "No Thanks" radio button is selected, remove controls related to custom size and custom IOPS)
This commit is contained in:
parent
bd6f0db31a
commit
2926d949f2
|
|
@ -517,7 +517,16 @@
|
|||
return elem.id == val;
|
||||
})[0];
|
||||
|
||||
if (!item) return true;
|
||||
if (!item) {
|
||||
// handle removal of custom size controls
|
||||
$step.find('.section.custom-size').hide();
|
||||
$step.removeClass('custom-disk-size');
|
||||
|
||||
// handle removal of custom IOPS controls
|
||||
$step.removeClass('custom-iops-do');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
var custom = item[args.customFlag];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue