Commit 10c82bda authored by Tino Goratsch's avatar Tino Goratsch

Fixed the inability to create a new menu item which should not be displayed

parent f0e5ff8d
......@@ -9,6 +9,12 @@ jQuery(document).ready(function ($) {
// Wenn Menüpunkt nicht angezeigt werden soll, Linkziel verstecken
$('input[name="display"]').change(function () {
$target.toggle(this.value == 1);
if (this.value == 0) {
// Force the link target to open on the same page programmatically,
// as the user can not select it for themself
$('#target').val(1);
}
});
var $mode = $('#mode'),
......
......@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] - 2017-xx-xx
### Fixed
- Fixed the inability to create a new menu item which should not be displayed
- Fixed a bug with the breadcrumbs where the breadcrumbs were sometimes not right when being used in conjunction with the menus module
- Fixed the bug that the `parent_id`s of the node's siblings were wrong, when the node was a root node after deleting it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment