From e01bcdebb99a484c413a3dd09596418bf3b79e01 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 26 Apr 2013 16:54:13 +0200 Subject: [PATCH] Fixed issue in page menu administration --- wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl | 7 +++++-- wcfsetup/install/files/acp/templates/selectOptionType.tpl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl b/wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl index 472adbba97..49afc45bff 100644 --- a/wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl +++ b/wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl @@ -7,6 +7,7 @@ var $parentMenuItemContainer = $('#parentMenuItemContainer'); var $isInternalLink = $('input[name=isInternalLink]').filter('[value=1]'); var $menuItemControllerContainer = $('#menuItemControllerContainer'); + var $menuItemLinkContainer = $('#menuItemLinkContainer'); function handleMenuPosition() { if ($menuPosition.val() === 'header') { @@ -20,9 +21,11 @@ function handleIsInternalLink() { if ($isInternalLink.is(':checked')) { $menuItemControllerContainer.show(); + $menuItemLinkContainer.hide(); } else { $menuItemControllerContainer.hide(); + $menuItemLinkContainer.show(); } } @@ -138,7 +141,7 @@ - +