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.
If the highcharts library isn't loaded. The javascript which adds the global options, causes the JS to crash, including all JS scripts that follow, since the function Highcharts() is undefined.
Comment | File | Size | Author |
---|---|---|---|
#1 | easycharst-global_options_post_load-2288923.patch | 1.3 KB | Sneakyvv |
Comments
Comment #1
Sneakyvv CreditAttribution: Sneakyvv commentedThis patch alters the library load and adds a post-load callback to which the code for setting the options is moved.
Comment #2
jyve CreditAttribution: jyve commentedThanks for the patch! It has just been committed to the dev version.
Comment #4
jyve CreditAttribution: jyve commentedComment #5
Sneakyvv CreditAttribution: Sneakyvv commentedHey jyve,
Glad my patch has been included, but no author reference? I hate to beg for credit, but... ;)
Comment #6
jyve CreditAttribution: jyve commentedMy bad! I reapplied the patch with the right credits.