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

Image loop group selector incorrect after page refresh #6

Open
douglatornell opened this issue Nov 16, 2017 · 1 comment
Open

Image loop group selector incorrect after page refresh #6

douglatornell opened this issue Nov 16, 2017 · 1 comment
Labels
bug Something isn't working critical Templates

Comments

@douglatornell
Copy link
Member

Original report by Doug Latornell (Bitbucket: douglatornell, GitHub: douglatornell).


Reported by @mdunphy.

Steps to reproduce:

  • Select a model variable other than the one at the top of the selector list; the image loop for that variable appears
  • Refresh the page; the image loop changes to the one for the model variable at the top of the selector list, but the selected model variable remains the one that was chosen before the page refresh

I think this is happening because the JavaScript code in the init_image_loop_group() template function that is fired by thy the page body load event is setting the image loop to display the the 1st one in the list, but the value in the selector is not changed by a page refresh.
The init code should pick up the model variable to display the loop for from the selector.

@douglatornell
Copy link
Member Author

Original comment by Doug Latornell (Bitbucket: douglatornell, GitHub: douglatornell).


Figure groups have the same problem.

@douglatornell douglatornell added critical Templates bug Something isn't working labels Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Templates
Projects
None yet
Development

No branches or pull requests

1 participant