Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Oct 2009 at 02:38 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rfaysubscribing and will review
Comment #2
rfayI confirm that this works, and thank you for your example code. It also does not break any of the simple examples in the ajax_example in the Examples module.
However, you say "Just need to set the event type for links to 'click'."
But the patch actually sets the event type for all elements with the class, doesn't it? Might there not be some repercussions of this?
Comment #3
rfayOK, I took a closer look. element_settings only gets used by the href.
I think perhaps this minor change is clearer about the intent. Patch attached. Still a one-line patch. Does the exact same thing. Moved to a more specific location.
Comment #4
merlinofchaos commentedYes, I think I didn't realize that the event in use for links would be wrong. This fixes it to the proper event.
Comment #5
webchickCommitted to HEAD. Thanks!