Closed
Bug 1399262
Opened 8 years ago
Closed 8 years ago
Screenshot preview is not reset when navigating to another string
Categories
(Webtools Graveyard :: Pontoon, defect)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: theo, Unassigned)
Details
The preview is not reset when navigating to a string that does not have a screenshot attached.
As an example, open this string which has a screenshot attached in its localization note: https://pontoon.mozilla.org/fr/engagement/other/2017/mozfest_design_assets.lang/?string=171675
Then click on a string that does not have any screenshot attached (in this case any string below this one), for instance “How to treat each other:”.
You can notice that the participation guidelines screenshot is still displayed while it shouldn’t
Comment 1•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/c7fc38674bb0a8b30d899d7d3eadffd22182f831
Fix bug 1399262: Reset screenshot on string navigation (#715)
If a string contains a link to a JPG or PNG file in its comment, we
render the linked image as a thumbnail in the source panel. If the
subsequently openned string does not have a comment, we keep the
screenshot visible instead of removing it. This patch fixes that.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•