diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 1de675a09..f038dc7c8 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -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();