Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.10
    • Fix Version/s: 1.1.11
    • Component/s: AJAX Form Components
    • Labels:
      None
    • Environment:
      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.

        Activity

        Hide
        Sergey Chistyakov added a comment -

        Quick patch is attached (patch for the obsolete version of prototype.js)

        Show
        Sergey Chistyakov added a comment - Quick patch is attached (patch for the obsolete version of prototype.js)
        Hide
        Leonardo Uribe added a comment -

        Now prototype version 1.7.0 and scriptaculous.js 1.9.0 are used. Thanks for the suggestion.

        Show
        Leonardo Uribe added a comment - Now prototype version 1.7.0 and scriptaculous.js 1.9.0 are used. Thanks for the suggestion.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Sergey Chistyakov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development