Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.10
-
None
-
any
Description
Obsolete version of prototype.js framework is used. This old version contains several bugs which are fixed in current version of prototype. The most major one is the following:
prototype.js overrides browser's built-in function Array.shift()
shift: function()
{ var result = this[0]; for (var i = 0; i < this.length - 1; i++) this[i] = this[i + 1]; this.length--; return result; },
which causes infinite loop and breaks browsers work in case of empty array. Built-in function works fine. This bug is fixed in the current version of Prototype.