mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
navigation.js: Handle toggle-more click
This commit is contained in:
parent
81b4163947
commit
5183428ddd
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
this.on('keydown', '#menu .config-menu .config-nav-item', this.onKeyDown, this);
|
this.on('keydown', '#menu .config-menu .config-nav-item', this.onKeyDown, this);
|
||||||
|
|
||||||
|
this.on('click', '#toggle-more', this.toggleMoreFlyout, this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The DOM-Path of the active item
|
* The DOM-Path of the active item
|
||||||
*
|
*
|
||||||
@ -422,6 +424,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Navigation.prototype.toggleMoreFlyout = function(e) {
|
||||||
|
$('#layout').toggleClass('more-button-open');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the history changes
|
* Called when the history changes
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user