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

Add back updateRevisionList to ensure list populates with saved data #6367

Conversation

smithellis
Copy link
Contributor

No description provided.

@@ -653,6 +653,8 @@ import collapsibleAccordionInit from "sumo/js/protocol-details-init";
}
}

updateRevisionList(); // Initial update
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was removed in a previous PR. Is this needed? If yes, where is it used. Staging seems to be working without this call.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This call was used in my other PR that ensures the revision list pre-populates with sessionStorage data; so when you got back to the revision list, if there data, we want the revision list to populate vs. show the fields filled but have standard data. I removed this because I was thinking it may be part of the issue in with the revision list lookup having intermittent/strange failures, but realized that it isn't related and needs to go back.

@smithellis smithellis merged commit 0bb2fc4 into mozilla:main Nov 21, 2024
2 checks passed
@smithellis smithellis deleted the 2019-ensure-list-fillswith-saved-data-on-reload branch November 21, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants