Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11129

Quickforms in AJAX causes duplicate IDs in the DOM

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      It seems that when QF generates radio buttons it uses a very generic pattern to give the element an id (namely CIVICRM_QFID_1_1 for the first set, CIVICRM_QFID_2_1 for the second, and so on). This is causing a lot of ID collisions in the DOM and wreaking havoc with browsers.
      Example of havoc: go to advanced search and open up the Activity pane, and click the label for "Created By." This will cause the "CMS user" radio to become selected (because both sets of radios have the same id)

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: