Ticket #3129 (closed bug: duplicate)
Array.prototype.call definition breaks jQuery 1.2.6 (OK in 1.2.3)
|Reported by:||geary||Owned by:||flesler|
If a program defines an Array.prototype.call() method, the makeArray() function in jQuery 1.2.6 becomes confused and handles arrays incorrectly. This is because of the array.call test in makeArray().
script.aculo.us effects.js v1.7.1_beta3 defines such a method and breaks jQuery. effects.js v1.8.1 no longer defines this method, so the practical impact of this conflict may be small, except for people who are using the older version of effects.js.
This conflict is the cause of the problem reported in this thread:
The fix is not immediately obvious to me, but I posted a couple of simplified test cases for 1.2.3 and 1.2.6 here:
- Status changed from assigned to closed
- Resolution set to wontfix
- Status changed from closed to reopened
- Resolution wontfix deleted