Merge pull request #2528 from stianst/KEYCLOAK-2760

KEYCLOAK-2760
This commit is contained in:
Stian Thorgersen 2016-04-07 06:51:24 +02:00
commit 139e19514b

View file

@ -1929,7 +1929,7 @@ module.controller('ClientTemplateProtocolMapperCtrl', function($scope, realm, se
};
$scope.remove = function() {
Dialog.confirmDelete($scope.mapper.name, 'mapper', function() {
Dialog.confirmDelete($scope.model.mapper.name, 'mapper', function() {
ClientTemplateProtocolMapper.remove({ realm: realm.realm, template: template.id, id : $scope.model.mapper.id }, function() {
Notifications.success("The mapper has been deleted.");
$location.url("/realms/" + realm.realm + '/client-templates/' + template.id + "/mappers");