KEYCLOAK-1100 Clicking on mapper name for account application fails
This commit is contained in:
parent
d44cc8639d
commit
06a45170ef
2 changed files with 1 additions and 5 deletions
|
@ -1181,13 +1181,11 @@ module.controller('ApplicationProtocolMapperCtrl', function($scope, realm, serve
|
||||||
}
|
}
|
||||||
$scope.protocol = application.protocol;
|
$scope.protocol = application.protocol;
|
||||||
$scope.mapper = angular.copy(mapper);
|
$scope.mapper = angular.copy(mapper);
|
||||||
var oldCopy = angular.copy($scope.realm);
|
|
||||||
$scope.changed = false;
|
$scope.changed = false;
|
||||||
$scope.boolval = true;
|
$scope.boolval = true;
|
||||||
$scope.boolvalId = 'boolval';
|
$scope.boolvalId = 'boolval';
|
||||||
|
|
||||||
console.log('protocol: ' + protocol);
|
var protocolMappers = serverInfo.protocolMapperTypes[application.protocol];
|
||||||
var protocolMappers = serverInfo.protocolMapperTypes[protocol];
|
|
||||||
for (var i = 0; i < protocolMappers.length; i++) {
|
for (var i = 0; i < protocolMappers.length; i++) {
|
||||||
if (protocolMappers[i].id == mapper.protocolMapper) {
|
if (protocolMappers[i].id == mapper.protocolMapper) {
|
||||||
$scope.mapperType = protocolMappers[i];
|
$scope.mapperType = protocolMappers[i];
|
||||||
|
|
|
@ -234,8 +234,6 @@ module.factory('ApplicationRoleListLoader', function(Loader, ApplicationRole, $r
|
||||||
|
|
||||||
module.factory('ApplicationLoader', function(Loader, Application, $route, $q) {
|
module.factory('ApplicationLoader', function(Loader, Application, $route, $q) {
|
||||||
return Loader.get(Application, function() {
|
return Loader.get(Application, function() {
|
||||||
console.log('application loader****');
|
|
||||||
console.log($route.current.params.application);
|
|
||||||
return {
|
return {
|
||||||
realm : $route.current.params.realm,
|
realm : $route.current.params.realm,
|
||||||
application : $route.current.params.application
|
application : $route.current.params.application
|
||||||
|
|
Loading…
Reference in a new issue