If I set my node comment settings to have "Location of comment submission form:" set as "Display below post or comments" then the Team Notifications box with the list of users appears on my nodes... however I am unable to click and select any of the users.

If I change my node comment settings to have "Location of comment submission form:" set to "Display on separate page", then the Team Notifications box with the list of users appears only on the comment form and works as expected.

Is this a known setup that is just not compatible with the Drupal core Comments or is this truly a bug with the Team Notifications module?

Comments

jayson’s picture

Title: Unable to select users when on comment form is on node » Unable to select users when comment form is on the node itself

Updated title.

jack.r.abbit’s picture

I don't know if it is related or not but I actually have the problem of not being able to select users when the comment form is its own page. When we go to create a new content, the check boxes work. I noticed that the hidden input seems to be the key to the jquery interactions. The JS is always working on an element with ID=edit-notifications-team-selected. This works just fine on the add new content form since that is in fact the element's ID. However, when I then try to add a comment, the element has an ID=edit-notifications-team-selected-1 so none of the jquery interactions are being picked up. I'm wondering if any one else can check if that is also the case when the form is not working for them. I don't know why it would do that. Maybe Drupal has something in its Form API that prevents elements from reusing IDs. Not sure.

I'm about to hack a quick fix that just injects duplicate JS code that will handle this other ID and move on since I really need this to work. But I know that is not the best long term solution.

harsh111’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev

I am getting the same problem while using open layers on node the users or friends with check box are not selectable while removing the open layers map from node or content type it works fine . I need to implement this with layers help me........