From 65f5ce9f1340e287297b78080876db09a5e98368 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Thu, 7 Jan 2016 13:09:53 +0100 Subject: [PATCH] KEYCLOAK-2252 Cannot delete client mapper with delete icon --- .../theme/base/admin/resources/js/controllers/clients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js index 14243077af..b2d77ffcd1 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js @@ -1627,7 +1627,7 @@ module.controller('ClientProtocolMapperCtrl', function($scope, realm, serverInfo }; $scope.remove = function() { - Dialog.confirmDelete($scope.mapper.name, 'mapper', function() { + Dialog.confirmDelete($scope.model.mapper.name, 'mapper', function() { ClientProtocolMapper.remove({ realm: realm.realm, client: client.id, id : $scope.model.mapper.id }, function() { Notifications.success("The mapper has been deleted."); $location.url("/realms/" + realm.realm + '/clients/' + client.id + "/mappers");