Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.0][web_timeline] add_events function is called many times #1077

Closed
ruben-tonetto opened this issue Oct 14, 2018 · 1 comment
Closed

[11.0][web_timeline] add_events function is called many times #1077

ruben-tonetto opened this issue Oct 14, 2018 · 1 comment
Assignees

Comments

@ruben-tonetto
Copy link

ruben-tonetto commented Oct 14, 2018

When i move a gantt bar, _render() function is fired, so add_events() function is called.
Every button (today/day/week/...) receive a new click event, but the previous click event is not cancelled

i think add_events() should be put in start() or add jquery off('click')

@tarteo
Copy link
Member

tarteo commented Oct 16, 2018

@ruben-tonetto Thanks, I've created a PR to fix this issue. Next time don't be shy to create a PR yourself 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants