Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code - Menu
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2013 at 09:32 UTC
Updated:
30 May 2016 at 09:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
seanbThis patch doesn't work (anymore?). The $exclude parameter of _hs_menu_apply_config() expects an array of the menu name and item.
The form_alter function needs to be:
Comment #2
seanbNew patch is attached with some small changed to previous comment.
Comment #3
demoshane commentedHello,
we have this issue and it's very prone the crash even whole server if user selects the node itself as parent. I improved the patch a little bit HOWEVER it seems that exclude doesn't work for some reason (Also the additional function $params['exclude'] was always empty so added creation of that). As working solution for now this has jQuery based (inline) failsafe to remove node itself from the parent list.
Comment #5
stefan.r commentedCommitted, thanks!
Comment #6
stefan.r commentedComment #8
stefan.r commentedPossible regression: #2734499: All menus available when selecting the Parent Item