mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-21 08:57:40 +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 (cherry picked from commit d3bc7b673180ce1c32d890ba60f33a19f8a95abc)
This commit is contained in:
parent
d208d1ccfe
commit
ef7f40d319
@ -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