mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
Fix edge control (#6401)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
parent
0bf48f2b03
commit
5524b28fc0
|
@ -111,10 +111,16 @@ function debugOutput(text, dstID) {
|
|||
function submitSapeventForm(params, action, method, form) {
|
||||
|
||||
function getSapeventPrefix() {
|
||||
// Depending on the used browser control and its version, different URL schemes
|
||||
// are used which we distinguish here
|
||||
if (document.querySelector('a[href*="file:///SAPEVENT:"]')) {
|
||||
return "file:///"; //Prefix for chromium based browser control
|
||||
// Prefix for old (SAPGUI <= 8.00 PL3) chromium based browser control
|
||||
return "file:///";
|
||||
} else if (document.querySelector('a[href^="sap-cust"]')) {
|
||||
// Prefix for new (SAPGUI >= 8.00 PL3 Hotfix 1) chromium based browser control
|
||||
return "sap-cust://sap-place-holder/";
|
||||
} else {
|
||||
return "";
|
||||
return ""; // No prefix for old IE control
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user