From f05f905d14ccdb308091a9f2c3fb80abaa4685e2 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 6 Nov 2020 17:32:51 +0100 Subject: [PATCH] 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. --- public/js/icinga/history.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/icinga/history.js b/public/js/icinga/history.js index 8180864ce..1a3892187 100644 --- a/public/js/icinga/history.js +++ b/public/js/icinga/history.js @@ -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,