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…
Reference in New Issue