Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.0-alpha5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Oct 2011 at 23:26 UTC
Updated:
19 Jan 2015 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
acbramley commentedProbably worth noting I am using hs_taxonomy and it works fine.
Comment #2
wiifmHaving the same issue,
on removing the jquery_update module, and bring jQuery back to stock 1.4.4 hs_menu started working again.
Perhaps this is an issue with the selector being used?
Anyone care to comment
Comment #3
acbramley commentedSwitching issue queues as this is caused by jquery_update.
Comment #4
acbramley commentedThe only line in hierarchical_select.js that I can find that is using this [value=''] is line 475:
Comment #5
acbramley commentedThis patch fixes the error and works both with jquery_update module turned off and turned on.
Comment #6
coreyp_1 commented#5 fixed our issue. We were using the hierarchical select in a custom form element, and it would die after the second level due to the
valuevariable. The patch wraps the value with a double quote, which should always be done, anyway, so I believe that this is the correct fix.Seeing as this has languished for about a year, I'm marking it as rtbc.
Comment #7
cravecode commentedI was going to commit the same fix. Works for me on jQuery 1.8.3. Curious as to why this hasn't been merged.
Comment #8
sylus commentedAttaching patch for latest dev:
Comment #9
milovan commentedPatch @ #5 is also applicable on Hierarchical select for Drupal 6 and fixes exactly the same error.
Thanks for the patch!
Comment #10
acbramley commented@sylus my patch applied fine to the latest dev, no need to upload duplicates.
Comment #11
hanskuiters commentedPatch #8 works great for dev. Thanks.
Comment #12
acbramley commentedPlease can we commit this 2 year old issue! Please commit #5
Comment #13
wim leersThanks, committed!
http://drupalcode.org/project/hierarchical_select.git/commit/c295d82
Comment #15
Corwin commentedI'm having this issue when jQuery update is enabled however I am not using the hierarchical_select modules. I do have og_menu installed.
Uncaught Error: Syntax error, unrecognized expression: [value=menu-main-menu:0]
Comment #16
milovan commentedHey, since patch is applicable on Drupal 6 as well and fixes the same issue there, can you also commit it for D6, please?
Comment #18
stefan.r commentedCommitted to 6.x-3.x-dev, thanks