community-edition
community-edition copied to clipboard
detachEveryConnection seems to ignore fireEvent=false
When using the detachEveryConnection function the system seems to ignore the fireEvent flag and still fires beforeDetach events:
https://jsfiddle.net/em66944h/20/
detachEveryConnection is now deleteEveryConnection but fireEvent flag is still being ignored.
ex.)
plumb.deleteEveryConnection($node, {
fireEvent: false
});
As a workaround from implementation side, I just use a flag to ignore events when deleteEveryConnection operation happens.