As discussing here http://drupal.org/node/1794142 (we'll bother about duplicates later),
when a hierarchical select item is clicked, and after the json response is served, we have this
Uncaught Error: Invalid DOM node passed to FB.XFBML.parse()
Fact is, fb_connect should not be parsing anything in this case.
Comments
Comment #0.0
brazorf commentedJust adding code tags.
Comment #1
agalitsyn commentedFB parse everything instead document on page load.
I add condition to disable this parsing in admin theme.
Comment #2
brazorf commentedYeah, that's a workaround, but this looks like we are going to be unable to use any json on the front theme? Hierarchical select might be used on frontend too, for instance.
Maybe this requires a deeper approach, and skip parsing when parser is not matching the right doctype?
Comment #3
MacK commentedSame problem here, and more strangely it started to throw in errors on a website with no apparent reason, i didn't updated fbconnect or hierarchicalselect modules in the meanwhile, neither installed new modules.
Chrome tells me that the uncaught error comes from "all.js", which is facebook side. Probably the file got changed from fb the last month.
I'm throwing in the fb.js file a
Until someone fixes that.
With this Hierarchical select and other json are working fine for me, front and backend.
Edit
As I expected also drupal for facebook users got the same problem:
http://drupal.org/node/1791986
Comment #4
Exgerth commentedonce it's enabled all image previews and CK Editor stop working. Tryed to search for a solution, but couldn't find any.
Can anyone help me please?
Comment #5
brazorf commentedExgerth,
please provide more details, how can we know your issue is related to this one?
You have any error in your browser javascript console?
Comment #6
attishu commentedsubscribe
Comment #6.0
attishu commentedtypo