Avoid popup blocker after key-pair creation
Chrome version 64 blocks new window popup for
downloading created private key.
This problem occurs in Angularized panels that
uses text-download service.
This patch fixes not to open new window.
Closes-Bug:
var a = angular.element('<a></a>');
a.attr("href", fileUrl);
a.attr("download", filename);
- a.attr("target", "_blank");
angular.element(document.body).append(a);
var deferred = $q.defer();
