Merge pull request #2529 from stianst/KEYCLOAK-2760-1.9

KEYCLOAK-2760
This commit is contained in:
Stian Thorgersen committed 2016-04-07 06:51:26 +02:00
commit a42e7f226f
1 file changed
+1 -1
@@ -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");