parent
4206504c9c
commit
3e195501ac
|
@ -21,7 +21,6 @@
|
|||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
test
|
||||
<li id="icinga_app_nav_preferences">
|
||||
<a href="<?= $this->href('/preference'); ?>"><?= $this->translate('Preferences'); ?> </a>
|
||||
</li>
|
||||
|
|
|
@ -422,7 +422,9 @@ define(['jquery', 'logging', 'icinga/componentLoader', 'URIjs/URI', 'URIjs/URITe
|
|||
} else {
|
||||
var container = new Container($(targetEl));
|
||||
// detail links render to main by default;
|
||||
Icinga.replaceBodyFromUrl(URI($(targetEl).attr('href')).href());
|
||||
Icinga.replaceBodyFromUrl(
|
||||
container.updateContainerHref(URI($(targetEl).attr('href')).href())
|
||||
);
|
||||
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
|
|
|
@ -90,7 +90,7 @@ define([
|
|||
};
|
||||
|
||||
if (Modernizr.history) {
|
||||
$(document.body).on('click', '#icinganavigation, #icingatopbar', function(ev) {
|
||||
$(document.body).on('click', '#icinganavigation', function(ev) {
|
||||
var targetEl = ev.target || ev.toElement || ev.relatedTarget;
|
||||
if (targetEl.tagName.toLowerCase() !== 'a') {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue