wesnolte / jOrgChart

A jQuery plugin to draw tree-like structures such as OrgCharts.
992 stars 674 forks source link

HTML links inside the node toggle the nodes #8

Closed ncalma closed 12 years ago

ncalma commented 12 years ago

I believe this is an unwanted behaviour of the plug-int that somehow got unnoticed.

If I add an HTML link into a node that has child nodes, by clicking on the HTML link inside the node, it opens/closes it (toggles that node). I really don’t want it to open/close (toggle) if I click on an link within the node… Is there an easy fix for this? Thank you in advance!

p.s. this behaviour is NOT noticeable in your demo as the node with HTML link does not have any children in it, so it does not do the 'toggle behaviour' on link click.

NC

ncalma commented 12 years ago

Hello. Just wondering if there is any update on this issue? Is there an easy fix?

I tried putting the "href" in the div with a higher z-index than the original enclosing dive (node), hoping this would do it, but it didn't... any other suggestion?

wesnolte commented 12 years ago

Sorry I've been bloody busy. Fixed this now :)