Merge pull request #1068 from stianst/master

KEYCLOAK-1100 Clicking on mapper name for account application fails
This commit is contained in:
Stian Thorgersen 2015-03-20 08:50:42 +01:00
commit dd2a5df654
2 changed files with 1 additions and 5 deletions

View file

@ -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];

View file

@ -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