Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1576

Outdated version of prototype.js is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.10
    • 1.1.11
    • AJAX Form Components
    • 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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            dxb Sergey Chistyakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: