Page MenuHomePhabricator

Restore lightbox behavior for thumbnailed images
ClosedPublic

Authored by epriestley on Mar 7 2018, 3:25 PM.
Tags
None
Referenced Files
F13178179: D19188.diff
Wed, May 8, 8:14 PM
Unknown Object (File)
Thu, Apr 25, 1:36 AM
Unknown Object (File)
Sun, Apr 21, 10:10 PM
Unknown Object (File)
Fri, Apr 19, 7:31 PM
Unknown Object (File)
Tue, Apr 16, 2:47 PM
Unknown Object (File)
Thu, Apr 11, 9:16 AM
Unknown Object (File)
Mar 31 2024, 5:09 AM
Unknown Object (File)
Mar 31 2024, 5:09 AM
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.