loader.js: Use `utils.addUrlFlag` instead of the now deprecated one
This commit is contained in:
parent
e45c18c833
commit
844cb911a4
|
@ -549,7 +549,7 @@
|
||||||
if (rerenderLayout) {
|
if (rerenderLayout) {
|
||||||
var parts = url.split(/#!/);
|
var parts = url.split(/#!/);
|
||||||
url = parts.shift();
|
url = parts.shift();
|
||||||
var redirectionUrl = this.addUrlFlag(url, 'renderLayout');
|
var redirectionUrl = icinga.utils.addUrlFlag(url, 'renderLayout');
|
||||||
var r = this.loadUrl(redirectionUrl, $('#layout'));
|
var r = this.loadUrl(redirectionUrl, $('#layout'));
|
||||||
r.historyUrl = url;
|
r.historyUrl = url;
|
||||||
if (parts.length) {
|
if (parts.length) {
|
||||||
|
|
Loading…
Reference in New Issue