This commit is contained in:
kevgliss 2015-11-30 10:24:53 -08:00
parent f56c6f2836
commit f194e2a1be
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ angular.module('lemur')
} }
var blob = new Blob(byteArrays, {type: 'application/octet-stream'}); var blob = new Blob(byteArrays, {type: 'application/octet-stream'});
saveAs(blob, certificate.name + "." + response.extension); FileSaver.saveAs(blob, certificate.name + '.' + response.extension);
$scope.passphrase = response.passphrase; $scope.passphrase = response.passphrase;
}, },
function (response) { function (response) {

View File

@ -165,7 +165,7 @@ angular.module('lemur')
}; };
$scope.export = function (certificateId) { $scope.export = function (certificateId) {
var modalInstance = $modal.open({ $modal.open({
animation: true, animation: true,
controller: 'CertificateExportController', controller: 'CertificateExportController',
templateUrl: '/angular/certificates/certificate/export.tpl.html', templateUrl: '/angular/certificates/certificate/export.tpl.html',