Closed (outdated)
Project:
Admin
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2011 at 00:44 UTC
Updated:
29 Oct 2025 at 15:06 UTC
Jump to comment: Most recent
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.jsThe attached patch fixes that.
| Comment | File | Size | Author |
|---|---|---|---|
| admin-missing-hasownpropery.patch | 1.01 KB | mikl |
Comments
Comment #1
traviscarden commentedSimple fix, works great. Thanks!
Comment #2
jessebeach commentedI verified this fix. Has it been committed yet?
Comment #2.0
jessebeach commentedUpdated issue summary for findability.
Comment #3
sickness29 commentedDevelopment or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.
Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!