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.
A missing hasOwnProperty()
-check in jQuery Drilldown causes a fatal JavaScript error if this script is used on the same page as another script that extends Array.prototype:
Object doesn't support this property or method
Line: 87
Char: 15
sites/all/modules/contrib/admin/includes/jquery.drilldown.js
The attached patch fixes that.
Comment | File | Size | Author |
---|---|---|---|
admin-missing-hasownpropery.patch | 1.01 KB | mikl |
Comments
Comment #1
TravisCarden CreditAttribution: TravisCarden commentedSimple fix, works great. Thanks!
Comment #2
jessebeach CreditAttribution: jessebeach commentedI verified this fix. Has it been committed yet?
Comment #2.0
jessebeach CreditAttribution: jessebeach commentedUpdated issue summary for findability.