Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13666

data-clicked attribute is not always removed on ajax form submissions

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4-RC1
    • Component/s: JavaScript / AJAX
    • Labels:
      None

      Description

      Forms that are ajaxified using the phpbb.ajaxify() function set the data-clicked attribute to true for the currently clicked submit button. This attribute is removed from other submit buttons upon triggering the click event.
      However, if the submit buttons are outside of the same HTML element, e.g. different fieldsets or paragraphs, the data-clicked attribute will no longer be removed. This will cause unpredictable behavior and might corrupt any form submissions.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Marc Marc
            Reporter:
            Marc Marc
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development