Page MenuHomePhabricator

Restore lightbox behavior for thumbnailed images
ClosedPublic

Authored by epriestley on Mar 7 2018, 3:25 PM.
Tags
None
Referenced Files
F15491307: D19188.id45959.diff
Sat, Apr 12, 1:45 AM
F15490476: D19188.id45959.diff
Fri, Apr 11, 5:51 PM
F15488001: D19188.id45959.diff
Thu, Apr 10, 6:39 PM
F15485437: D19188.diff
Wed, Apr 9, 11:41 PM
F15469046: D19188.id45957.diff
Fri, Apr 4, 8:29 AM
F15459868: D19188.id.diff
Mon, Mar 31, 5:31 PM
F15459331: D19188.id45959.diff
Mon, Mar 31, 11:59 AM
F15459330: D19188.id45957.diff
Mon, Mar 31, 11:59 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.