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

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

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: