mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Retain detail URL if the layout is rerendered after a redirect
refs #8605
This commit is contained in:
parent
1bd2e7cb84
commit
2e1ae185fb
@ -292,6 +292,12 @@
|
||||
r.url = redirect;
|
||||
if (parts.length) {
|
||||
r.loadNext = parts;
|
||||
} else if (!! document.location.hash) {
|
||||
// Retain detail URL if the layout is rerendered
|
||||
parts = document.location.hash.split('#!').splice(1);
|
||||
if (parts.length) {
|
||||
r.loadNext = parts;
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user