mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
history.js: Set lastPushUrl
in method replaceCurrentState()
Without this, any subsequent call to `pushCurrentState()` has no effect in case the same url is used that was replaced.
This commit is contained in:
parent
627f388cfa
commit
f05f905d14
@ -126,6 +126,7 @@
|
|||||||
|
|
||||||
if (state.url) {
|
if (state.url) {
|
||||||
this.icinga.logger.debug('Replacing current history state');
|
this.icinga.logger.debug('Replacing current history state');
|
||||||
|
this.lastPushUrl = state.url;
|
||||||
window.history.replaceState(
|
window.history.replaceState(
|
||||||
this.getBehaviorState(),
|
this.getBehaviorState(),
|
||||||
null,
|
null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user