diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 62de425c8..8e8661e6a 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -762,6 +762,14 @@ var contentSeparator = req.getResponseHeader('X-Icinga-Multipart-Content'); if (!! contentSeparator) { + var locationQuery = req.getResponseHeader('X-Icinga-Location-Query'); + if (locationQuery !== null) { + var a = this.icinga.utils.getUrlHelper(); + a.search = locationQuery ? '?' + locationQuery : ''; + req.$target.data('icingaUrl', a.href); + this.icinga.history.replaceCurrentState(); + } + $.each(req.responseText.split(contentSeparator), function (idx, el) { var match = el.match(/for=(\S+)\s+(.*)/ms); if (!! match) {