diff --git a/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js b/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js index 3ef1b951b43..be4765e3756 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js @@ -2226,8 +2226,11 @@ module.controller('ClientScopeMappingCtrl', function($scope, $http, realm, $rout return $scope.client.fullScopeAllowed; } - $scope.changeFlag = function() { + $scope.changeFlag = function(event) { console.log('changeFlag'); + event.stopPropagation(); + event.preventDefault(); + $scope.client.fullScopeAllowed = !$scope.client.fullScopeAllowed Client.update({ realm : realm.realm, client : client.id diff --git a/themes/src/main/resources/theme/base/admin/resources/partials/client-scope-mappings.html b/themes/src/main/resources/theme/base/admin/resources/partials/client-scope-mappings.html index 1343f1b4c0a..d3896423291 100755 --- a/themes/src/main/resources/theme/base/admin/resources/partials/client-scope-mappings.html +++ b/themes/src/main/resources/theme/base/admin/resources/partials/client-scope-mappings.html @@ -15,7 +15,7 @@ {{:: 'full-scope-allowed.tooltip' | translate}}
- +