HomePhabricator

MediaViewer cancel button made to close viewer

Authored by Sumit.

Description

MediaViewer cancel button made to close viewer

Cancel button on media viewer currently fires the 'back' event inherited from
overlay. 'onExit' from ImageOverlayNew.js ported to ImageOverlay to close
mediaviewer when cancel button is clicked.

Bug: T94188
Change-Id: I5cb371fcbe1726981e3dc5092354625e2df35e6b

Details