Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code - Menu
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Sep 2011 at 22:18 UTC
Updated:
4 Jan 2014 at 01:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wim leershs_menu_menu_edit_item_form_submit()is only meant for themenu_edit_item_form. That's why it's called that way. Please create a separate #submit callback.Also, please comply with the Drupal coding standards.
Comment #2
rv0 commentedTry this one ;)
Comment #3
martichka5 commentedThe above patch fixes the issue for me.
Comment #4
iancawthorne commentedSame here. #2 fixes the issue of saving on a node edit form for me.
Comment #5
izkreny commented#2 is working for me too (against 7.x-3.0-alpha5) and fixes errors reported @ #1360696: Hierarchical Select Menu triggering bug in Core - Menu issue.
BUT, it's not working in combination with also (personally) much needed fix from #1271386: Hierarchical Select Menu should respect menu_options (#12).
rv0, can you pwetty pwease commit this two RTBC patches to dev, if Wim is busy? ;)
Or give some hint how to merge those two patches easily?
Thx.
Comment #6
rv0 commented@mariomaric
I do not have commit access.
The patches are very simple, if both collide, you should apply them manually (open patch file, look at code ;) )
Comment #7
rv0 commentedwell..
Comment #8
m4oliveiWould love to see this commited!
Comment #9
Refineo commentedI applied both patches #2 and #12 manually.
I attach the corrected hs_menu.module file.
I will prepare a new patch as well but someone needs to test it and to commit later on.
Comment #10
Refineo commentedHere is the new patch as in #9.
Please review. Thanks !
Comment #11
Refineo commentedNeeds tests
Comment #12
wim leersFinally committed: http://drupalcode.org/project/hierarchical_select.git/commit/2d5201d. Thanks!
Comment #13
chichio9000 commentedMy site success with #10.
Thanks refineo