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

More link on search results doesn't remove active class properly

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.4.beta
    • Component/s: None
    • Labels:
      None

      Description

      You can see this problem on the contribution page listing (civicrm/admin/contribute&reset=1) for example, or any other page of query results that has the "more" contextual dropdown.

      If you click on one row's more link, it opens the menu. If you then click on another row's more link without closing the first, it does not remove the btn-slide-active class from the first opened link, and a z-index bug results. The first-clicked more link shows through the new contextual menu.

      I have attached my templates/CRM/common/action.tpl containing my fix to the jQuery controlling this interaction. My codebase is civi 3.2, but I only added a few lines and I noticed that the 3.4 code is largely the same and still seems to have the problem I described.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dpolant Dan Polant
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: