Files
zulip/static/js
Hashir Sarwar 9ffed7afdc lightbox: Parse images' data while rendering image-list.
Previously, lightbox.open() was responsible for retrieving
the image data from the DOM, saving it in `asset_map` and
finally displaying the image using that data. This
implementation wasn't correct for image list at bottom of
the lightbox because the `image` parameter passed to
lightbox.open() could contain more than one instances of
the image that had to be opened.

Now, the metadata of all the images in image-list is stored
in the `asset_map` while rendering the `image-list` inside
`render_lightbox_list_images()` and `lightbox.open()` only
looks for the metadata from `asset_map`.

Fixes #14152.
2020-04-05 13:13:02 -07:00
..
2020-03-02 17:45:44 -08:00
2020-02-25 15:37:37 -08:00
2020-02-28 17:11:24 -08:00
2020-03-24 20:40:19 -07:00
2020-02-15 12:20:20 -08:00
2020-02-25 14:09:39 -08:00
2020-02-15 12:20:20 -08:00
2020-02-04 12:22:03 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 15:37:37 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00
2020-03-26 21:35:32 -07:00
2020-02-10 15:57:20 -08:00
2020-02-25 15:37:37 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 15:37:37 -08:00
2020-02-25 15:37:37 -08:00
2020-02-25 15:37:37 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00