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

Workaround for IE Bug in <button>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.8, 2.1.9, 2.1.10, 2.2
    • None
    • Blocks: Forms
    • None
    • Normal
    • Patch available

    Description

      Special workaround IE Bug for
      <button type="button" title="row up" name="results.0.columns.0.result-column-move-up" id="results.0.columns.0.result-column-move-up"
      value="row up" onClick="forms_submitForm(this);"><img src="up.gif" border="0"></button>

      The IE returns the values of all button in every row, so there are multiple submitWidgets!

      My Workaround is using the onClick-Event to remember the button name by using the known js-function "forms_submitForm(this)". In the Action-class I check if the field "forms_submit_id" is set and use this as SubmitWidget.

      I'm using this patch since 1 year and it works fine.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--Action.patch
          3 kB
          Rolf Metternich
        2. action-error.txt
          14 kB
          Rolf Metternich

        Activity

          People

            Unassigned Unassigned
            rmetternich Rolf Metternich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: