Skip to content

Conversation

@vagisha
Copy link
Collaborator

@vagisha vagisha commented Jul 21, 2025

Rationale

Some inline event handlers didn't get migrated in the initial work.

Related Pull Requests

Changes

  • Deleted lincs.js. Reuse Morpheus viewer link generating code from LincsDataTable.

@vagisha vagisha requested a review from labkey-jeckels July 21, 2025 23:04
parentDiv.innerHTML = slideshowHtml;
document.getElementById(nextSlideBtnId).onclick = function() { plusSlides(-1); };
document.getElementById(prevSlideBtnId).onclick = function() { plusSlides(1); };
document.getElementById(nextSlideBtnId)['onclick'] = function() { plusSlides(-1); };
Copy link
Contributor

Choose a reason for hiding this comment

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

This change fine but I don't think should make any difference for CSP purposes. Were you seeing something different?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, just following LabKey convention based on a comment in PR #412

@vagisha vagisha merged commit c266967 into release25.7-SNAPSHOT Jul 22, 2025
8 checks passed
@vagisha vagisha deleted the 25.7_fb_fix-inline-event-handlers branch July 22, 2025 18:34
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.

3 participants