mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +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) {
|
||||
this.icinga.logger.debug('Replacing current history state');
|
||||
this.lastPushUrl = state.url;
|
||||
window.history.replaceState(
|
||||
this.getBehaviorState(),
|
||||
null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user