Browse Source

gui improvement

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
main
Stephan Richter 1 month ago
parent
commit
7ed00d6376
  1. 2
      de.srsoftware.oidc.web/src/main/resources/en/scripts/index.js

2
de.srsoftware.oidc.web/src/main/resources/en/scripts/index.js

@ -15,7 +15,7 @@ function handleDash(response){ @@ -15,7 +15,7 @@ function handleDash(response){
var client = clients[id];
if (client.landing_page){
var div = document.createElement("div");
div.innerHTML = `<button onclick="window.location.href='${client.landing_page}';">${client.name}</button>`;
div.innerHTML = `<button onclick="window.open('${client.landing_page}','_blank').focus();">${client.name}</button>`;
content.append(div);
any = true;
}

Loading…
Cancel
Save