Merge pull request #1068 from stianst/master
KEYCLOAK-1100 Clicking on mapper name for account application fails
This commit is contained in:
commit
dd2a5df654
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.mapper = angular.copy(mapper);
|
||||
var oldCopy = angular.copy($scope.realm);
|
||||
$scope.changed = false;
|
||||
$scope.boolval = true;
|
||||
$scope.boolvalId = 'boolval';
|
||||
|
||||
console.log('protocol: ' + protocol);
|
||||
var protocolMappers = serverInfo.protocolMapperTypes[protocol];
|
||||
var protocolMappers = serverInfo.protocolMapperTypes[application.protocol];
|
||||
for (var i = 0; i < protocolMappers.length; i++) {
|
||||
if (protocolMappers[i].id == mapper.protocolMapper) {
|
||||
$scope.mapperType = protocolMappers[i];
|
||||
|
|
|
@ -234,8 +234,6 @@ module.factory('ApplicationRoleListLoader', function(Loader, ApplicationRole, $r
|
|||
|
||||
module.factory('ApplicationLoader', function(Loader, Application, $route, $q) {
|
||||
return Loader.get(Application, function() {
|
||||
console.log('application loader****');
|
||||
console.log($route.current.params.application);
|
||||
return {
|
||||
realm : $route.current.params.realm,
|
||||
application : $route.current.params.application
|
||||
|
|
Loading…
Reference in a new issue