summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Sutcliffe <dansut@users.sourceforge.net>2010-04-14 18:08:28 +0000
committerDaniel Sutcliffe <dansut@users.sourceforge.net>2010-04-14 18:08:28 +0000
commitc18e5344f884a21bad19592d986d7e588e7b68b8 (patch)
tree2b344e561301bed71bad66064888082e762893f8
parentea3281e41916d1053f16f13d148ddfb467d9cbe6 (diff)
downloadnexus-c18e5344f884a21bad19592d986d7e588e7b68b8.tar.gz
nexus-c18e5344f884a21bad19592d986d7e588e7b68b8.tar.bz2
nexus-c18e5344f884a21bad19592d986d7e588e7b68b8.zip
Fix nexus menu edit service tab so it deletes the menu item when when remove checkbox checkedPRE_CONTENTTYPE_NAME_PLURAL
-rw-r--r--templates/insert_menu_item_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/insert_menu_item_inc.tpl b/templates/insert_menu_item_inc.tpl
index e899a53..f025cab 100644
--- a/templates/insert_menu_item_inc.tpl
+++ b/templates/insert_menu_item_inc.tpl
@@ -42,7 +42,7 @@
<p>{tr}This {$gContent->mType.content_description} is already part of the menu <strong>{$inNexusMenu.title|escape}</strong>.{/tr}</p>
{formlabel label="Remove" for="nexusRemove"}
{forminput}
- <input type="checkbox" name="nexus[remove_item]" id="nexusRemove" value="{$inNexusMenuItem.item_id}" />
+ <input type="checkbox" name="nexus[remove_item]" id="nexusRemove" value="{$inNexusMenuItem}" />
{formhelp note="Check the box if you wish to remove this page from the menu. This will also allow you to insert the menu item in a different menu when editing the menu next time."}
{/forminput}
</div>