Fix subnet creation problem
Change-Id: I6868f7ab782160ee6a400482c13b53193e2809f2
This commit is contained in:
parent
3b68a58fa1
commit
00fc751fce
@ -277,8 +277,9 @@ var ModalInstanceCtrl = function($scope, $modalInstance, allAdapters, cluster) {
|
||||
|
||||
$scope.updateSelectedAdapter = function() {
|
||||
angular.forEach($scope.allAdapters, function(adapter) {
|
||||
if(adapter.id == $scope.cluster.adapter.id) {
|
||||
if (adapter.id == $scope.cluster.adapter.id) {
|
||||
$scope.supported_oses = adapter.supported_oses;
|
||||
$scope.flavors = adapter.flavors;
|
||||
}
|
||||
})
|
||||
};
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
<li class="transparent">
|
||||
<a ui-sref="serverList">
|
||||
Discovered Servers
|
||||
Servers
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -246,7 +246,7 @@
|
||||
</table>
|
||||
</div >
|
||||
<div class = "modal-footer" >
|
||||
<button class = "btn btn-primary" ng - click = "ok()" > OK </button>
|
||||
<button class = "btn btn-primary" ng-click="ok()" > OK </button>
|
||||
<button class="btn btn-grey" ng-click="cancel()">Cancel</button>
|
||||
</div>
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user