Browse Source

Merge pull request #23404 from abpframework/auto-merge/rel-9-2/3901

Merge branch rel-9.3 with rel-9.2
pull/23405/head
maliming 1 year ago
committed by GitHub
parent
commit
b448333ed7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 17
      modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js

17
modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js

@ -1,12 +1,17 @@
document.addEventListener("DOMContentLoaded", function (event) {
setTimeout(function () {
var redirectButton = document.getElementById("redirectButton");
if(!redirectButton){
if (!redirectButton) {
return;
}
redirectButton.getAttribute("cname");
redirectButton.getAttribute("href");
}, 3000)
var clientName = redirectButton.getAttribute("cname");
if (clientName) {
window.clientName = clientName;
}
var href = redirectButton.getAttribute("href");
if (!href) {
return;
}
window.location = href;
}, 3000);
});

Loading…
Cancel
Save