Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1972

Comment actions button doesn't open the drop down

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.18.4, 2.19.0
    • Skin Workspaces
    • None
    • 4.10 M6
    • Oui

      When you have an even number of comment with the same id (ie comment #1 or comment #1.2, etc) the drop down becomes innaccessible.

      The issue comes from the template comment-script of comments.xsl that do the following query to add the click listener : $j('[data-ametys-comment-id="%%id%%"][data-ametys-is-comment]');

      This query is not retricted to the comment wrapper and therefore the listener is added on all comment with this id. With an even number of comment with the same id, we toggle the active class an even number of time resulting in no toggling at all.

            laurence Laurence Aumeunier
            ggouin Guillaume Gouin
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: