mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
js: Fix that redirects into currently empty columns don't work
This commit is contained in:
parent
e628cb0254
commit
c83ab17826
@ -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…
x
Reference in New Issue
Block a user