mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
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'));
|
this.loadUrl(parts.shift(), $('#col2'));
|
||||||
} else {
|
} else {
|
||||||
if ($target.attr('id') === 'col2') { // TODO: multicol
|
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
|
// Don't do anything in this case
|
||||||
} else if ($('#col1').data('icingaUrl').split('?')[0] === url.split('?')[0]) {
|
} else if ($('#col1').data('icingaUrl').split('?')[0] === url.split('?')[0]) {
|
||||||
icinga.ui.layout1col();
|
icinga.ui.layout1col();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user