I have a node with two separate flag link generated via flag_create_link(), with javascript toggle:

flag_create_link('heart_this', $node->nid);
flag_create_link('qc_no_problems', $node->nid);

When I click the "qc_no_problems" flag link, it updates as expected to show the "unflag text," but the problem is that the "heart this" link is also replaced with the unflag link for the "qc_no_problems" flag. See screenshot:

I've tried embedding the second flag in a block, tested with the default "bookmarks" flag, and still having the same problem. Any ideas on what's causing this?

CommentFileSizeAuthor
multi_flag_problem.png249.42 KBjordanmagnuson

Comments

jordanmagnuson’s picture

Status: Active » Closed (duplicate)

For some reason, this posted twice: https://www.drupal.org/node/2466909