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

Fixes #17347 - Stop autorefresh leaking to other pages #257

Merged
merged 1 commit into from
Jun 21, 2017

Conversation

adamruzicka
Copy link
Contributor

When starting the autorefresh we store the id of the form, which contains the uuid of current task. The refresh is cancelled if element with that id doesn't exist on page

@iNecas
Copy link
Member

iNecas commented Jun 21, 2017

Although it was not reproducible on newer versions (the reproducer was working against Foreman 11, while with Foreman 15, there seemed to be a difference with how turbolinks are being used. Anyway, the change looks sane and prevents reloading if the turbolink, or something else decides to not refresh the page

@iNecas iNecas merged commit c128472 into theforeman:master Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants