Load Workplace client JARs from current MES JNLP only

This commit is contained in:
2026-11-23 07:19:49 +00:00
parent 3ca5d23504
commit a89a3bc4b6
24 changed files with 179 additions and 248 deletions

View File

@@ -257,7 +257,7 @@ async function start(e,data){
const params=new URL(location.href).searchParams;
const rawWindowMode=data.windowMode ?? params.get('windows');
const windowMode=isWorkplace && ['off','diagnose','rescue'].includes(rawWindowMode)
? rawWindowMode : (isWorkplace ? 'diagnose' : 'off');
? rawWindowMode : 'off';
boot('JNLP-Abruf');
status(id,'loading','JNLP wird gelesen …');
const r=await fetch(url.href,{credentials:'same-origin',redirect:'follow',cache:'no-store'});