mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI -IP Address - create LB rule screen - show tier dropdown if coming from VPC secton, hide tier dropdown if coming from Guest Network section.
This commit is contained in:
parent
e212b6420a
commit
b2e1dd7697
|
|
@ -2391,14 +2391,13 @@
|
|||
}
|
||||
});
|
||||
|
||||
// Check if tiers are present; hide/show header drop-down
|
||||
var hasTiers = false;
|
||||
// Check if tiers are present; hide/show header drop-down
|
||||
var $headerFields = $multi.find('.header-fields');
|
||||
|
||||
if (hasTiers) {
|
||||
$headerFields.hide();
|
||||
} else {
|
||||
if ('vpc' in args.context) {
|
||||
$headerFields.show();
|
||||
}
|
||||
else if('networks' in args.context){
|
||||
$headerFields.hide();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue