fix(UI): Stop href="#" propagating click event in ModalSelectApiCtrl due to change in AngularJS.
MODIFY
manager/ui/war/plugins/api-manager/html/modals/selectApiModal.html
manager/ui/war/plugins/api-manager/html/modals/selectApiModal.html
<div class="clearfix"></div>
<div class="panel panel-default input-search-results">
<div class="panel-body container-fluid" data-field="apis">
- <a ng-click="onApiSelected(api)"
+ <a ng-click="onApiSelected(api, $event)"
href="#" class="item" ng-repeat="api in apis"
ng-class="{ selected : api.selected }">
<i class="fa fa-puzzle-piece fa-fw"></i>

MODIFY
manager/ui/war/plugins/api-manager/ts/modals.ts
manager/ui/war/plugins/api-manager/ts/modals.ts
@@ -161,7 +161,9 @@ module ApimanModals {
Logger.info("===========> Api Version: {0}", newValue);
}, false);
- $scope.onApiSelected = function (api) {
+ $scope.onApiSelected = function (api, event) {
+ event.preventDefault();
+
if ($scope.selectedApi) {
$scope.selectedApi.selected = false;
}

fix(UI): Stop href="#" propagating click event in ModalSelectApiCtrl due to change in AngularJS.

APIMAN-1304

Signed-off-by: Marc Savy <marc@rhymewithgravy.com>