Fix subnet creation problem

Change-Id: I6868f7ab782160ee6a400482c13b53193e2809f2
This commit is contained in:
Weidong Shao 2014-08-27 07:46:44 +00:00
parent 3b68a58fa1
commit 00fc751fce
3 changed files with 4 additions and 3 deletions

View File

@ -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;
}
})
};

View File

@ -44,7 +44,7 @@
<li class="transparent">
<a ui-sref="serverList">
Discovered Servers
Servers
</a>
</li>
</ul>

View File

@ -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>