Skip to content

Commit

Permalink
Merge pull request #3451 from OpenLiberty/3095-pem-new-tab
Browse files Browse the repository at this point in the history
Make PEM file open in new tab
  • Loading branch information
natalie-bernhard authored Oct 17, 2023
2 parents 6fd2744 + 5d6407b commit 662af21
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/content/_assets/js/builds.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function render_builds(builds, parent) {
var verification_column2 = $(
'<td headers="' + tableID + '_verification"' + 'rowspan="'+num_packages+'"' + '>' +
// Optional sig file download button
(sig_href ? '<a href="'+pem_href+'" class="'+analytics_class_name +'" rel="noopener">' + download_arrow +'PEM</a>' : '' ) +
(sig_href ? '<a href="'+pem_href+'" class="'+analytics_class_name +'" rel="noopener" target="_blank">' + download_arrow +'PEM</a>' : '' ) +
'</td>'
);

Expand Down Expand Up @@ -1091,7 +1091,10 @@ function validate_starter_inputs(event) {
}
}

function displayMessage(message,javaMsg = false) {
function displayMessage(message,javaMsg) {
if(!javaMsg){
javaMsg = false;
}
// Display a message when MP/Jakarta EE Version get changed.
var close_icon = $(
'<img src=\'/img/x_white.svg\' id=\'invalid_message_close_icon\' alt=\'Close\' tabindex=\'0\' />'
Expand Down

0 comments on commit 662af21

Please sign in to comment.