Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1732

Ajax and IE empty textarea bugfix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8
    • 2.1.10, 2.2
    • Blocks: Ajax
    • None
    • Normal
    • Patch available

    Description

      Empty textareas in a repeater are displayed incorrectly by Internet
      Explorer after a round-trip to the server (for example after
      adding/deleting a row, or when a validation error occurs!)

      Instead of being empty, the textareas display a garbled mix of text and
      html-tags occurring in the html document. Submission of the form usually
      won't work afterwards...

      (See attachment for my post to the cocoon dev list, which contains the steps for reproducing the bug, and a possible fix for it)

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--empty_textarea_ie.txt
          5 kB
          Fabrizio Sitzia
        2. ie_empty_textarea.gif
          0.7 kB
          Fabrizio Sitzia
        3. insertion.js.patch
          1 kB
          Guillaume Déflache

        Issue Links

          Activity

            People

              Unassigned Unassigned
              britzel Fabrizio Sitzia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: