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

Select2 not compatible with Select2

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.6
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      The version of jQuery.Select2 we are using (3.5) relies on a global singleton instance. It can therefore not support multiple copies of itself in the same webpage.
      If the CMS theme is using select2, it will crash.
      Based on a quick read of the select2 4.0 code, it looks like this problem would be solved by upgrading to that version.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: