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

Migrate inline handlers #137

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Migrate inline handlers #137

merged 2 commits into from
Mar 8, 2024

Conversation

labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Mar 7, 2024

Rationale

Make CSPs happier. Fix whitespace gone crazy.

Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

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

See question about click vs onclick



LABKEY.Utils.onReady(function(){
document.getElementById('previousButton')['click'] = previous;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be onclick? The changes in this PR are inconsistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, should be onclick. Thanks... I've corrected here and a couple other places.

@labkey-adam labkey-adam merged commit 97bb4b2 into develop Mar 8, 2024
1 check passed
@labkey-adam labkey-adam deleted the fb_inline branch March 8, 2024 00:22
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

Successfully merging this pull request may close these issues.

2 participants