Page MenuHomePhabricator

Restore lightbox behavior for thumbnailed images
ClosedPublic

Authored by epriestley on Mar 7 2018, 3:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 23, 5:44 PM
Unknown Object (File)
May 7 2025, 3:24 PM
Unknown Object (File)
May 7 2025, 1:14 AM
Unknown Object (File)
Apr 30 2025, 7:50 AM
Unknown Object (File)
Apr 25 2025, 7:44 PM
Unknown Object (File)
Apr 22 2025, 6:34 AM
Unknown Object (File)
Apr 12 2025, 1:45 AM
Unknown Object (File)
Apr 11 2025, 5:51 PM
Subscribers
None

Details

Summary

Ref T13099. See https://discourse.phabricator-community.org/t/lightbox-not-working/1201. The Content-Security-Policy changes rewrote some of this code and the handling for "Download" links is incorrectly catching clicks on thumbnailed images.

Test Plan

Clicked a thumbnailed image, got a lightbox. Command-clicked a download link, still got link behavior instead of a lightbox.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 7 2018, 3:33 PM
This revision was automatically updated to reflect the committed changes.