Merge pull request #808 from stianst/master

KEYCLOAK-726 Downloading a OAuth client installation file results on wro...
This commit is contained in:
Stian Thorgersen 2014-10-29 09:13:12 +01:00
commit 22ddf8b9d1

View file

@ -282,7 +282,7 @@ module.controller('OAuthClientInstallationCtrl', function($scope, realm, install
$scope.installation = installation;
$scope.download = function() {
saveAs(new Blob([$scope.installation], { type: $scope.type }), 'keycloak.json');
saveAs(new Blob([angular.toJson($scope.installation, true)], { type: 'application/json' }), 'keycloak.json');
}
});