Merge pull request #4600 from Icinga/fix/landing-redirects-in-col2-do-not-load
js: Fix that redirects into currently empty columns don't work
This commit is contained in:
commit
d3bc7b6731
|
@ -643,7 +643,7 @@
|
|||
this.loadUrl(parts.shift(), $('#col2'));
|
||||
} else {
|
||||
if ($target.attr('id') === 'col2') { // TODO: multicol
|
||||
if ($target.data('icingaUrl').split('?')[0] === url.split('?')[0]) {
|
||||
if (($target.data('icingaUrl') || '').split('?')[0] === url.split('?')[0]) {
|
||||
// Don't do anything in this case
|
||||
} else if ($('#col1').data('icingaUrl').split('?')[0] === url.split('?')[0]) {
|
||||
icinga.ui.layout1col();
|
||||
|
|
Loading…
Reference in New Issue