diff options
author | statta <statta@research.att.com> | 2019-08-23 16:49:45 -0400 |
---|---|---|
committer | statta <statta@research.att.com> | 2019-08-23 16:51:05 -0400 |
commit | a3a04c5887779e9ca8024a3e87ece109b8d9b0c1 (patch) | |
tree | d4c36f55aaba1f5a76bdf95308a0dc5ff21b425a /ecomp-portal-FE-common/client/app/views/role | |
parent | 7ce177cd99096772ff42ef89d8820070c687fd9b (diff) |
Onboarding Page Account Admin Change
Issue-ID: PORTAL-644
Change-Id: I95e43b1a2d12dcb5a4bc56d374cc6d30d8aae3f3
Signed-off-by: statta <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE-common/client/app/views/role')
-rw-r--r-- | ecomp-portal-FE-common/client/app/views/role/popup_createedit_role.html | 2 | ||||
-rw-r--r-- | ecomp-portal-FE-common/client/app/views/role/role-list-controller.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ecomp-portal-FE-common/client/app/views/role/popup_createedit_role.html b/ecomp-portal-FE-common/client/app/views/role/popup_createedit_role.html index 5d4fc4d4..0429967f 100644 --- a/ecomp-portal-FE-common/client/app/views/role/popup_createedit_role.html +++ b/ecomp-portal-FE-common/client/app/views/role/popup_createedit_role.html @@ -130,7 +130,7 @@ <div class="b2b-modal-footer"> <div class="cta-button-group in"> - <button id="button-app-save" class="btn btn-alt btn-small" size="small" ng-click="saveRole(role, editRoleFunction);" href="javascript:void(0)">Save</button> + <button id="button-app-save" class="btn btn-alt btn-small" size="small" ng-disabled="!(role.name)" ng-click="saveRole(role, editRoleFunction);" href="javascript:void(0)">Save</button> <button id="button-app-cancel" class="btn btn-alt btn-small" ng-click="$dismiss('cancel')" role="button" tabindex="0" href="javascript:void(0)">Cancel</button> </div> diff --git a/ecomp-portal-FE-common/client/app/views/role/role-list-controller.js b/ecomp-portal-FE-common/client/app/views/role/role-list-controller.js index b4813114..8765149e 100644 --- a/ecomp-portal-FE-common/client/app/views/role/role-list-controller.js +++ b/ecomp-portal-FE-common/client/app/views/role/role-list-controller.js @@ -152,11 +152,9 @@ app.controller('roleListController', function ($scope,RoleService, applicationsS $scope.centralizedApps = res; for(var i = 0; i<res.length; i++){ if(res[i].appId == 1){ - $scope.getRolesForSelectedCentralizedApp(res[i].appId); $scope.apps.selectedCentralizedApp = res[i].appId; return; } - $scope.getRolesForSelectedCentralizedApp(res[0].appId); $scope.apps.selectedCentralizedApp = res[0].appId; } } |