Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just noticed that the Highcharts Javascript doesn't pass context
to the jQuery constructor. This will generally only have a small impact, and you already work around potential problems by using .once()
, but I still think best practice would be to include it. It will also help avoid problems in some edge cases, and shouldn't in any way negatively affect normal usage.
Comment | File | Size | Author |
---|---|---|---|
#3 | charts-include-context-in-2679391-3.patch | 1.65 KB | NWOM |
#2 | 2679391-2--jQuery_context_parameter.patch | 650 bytes | drunken monkey |
Comments
Comment #2
drunken monkey(Trivial) Patch attached, would be great if someone could test/review to verify everything still works as expected.
Comment #3
NWOM CreditAttribution: NWOM commentedHere is a patch that includes the context for Google Charts as well. Please review
Comment #5
andileco CreditAttribution: andileco at JSI Research & Training Institute, Inc. (JSI) commented