mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 17:18:41 +00:00
1261ad4b3d
"Go back" should only be shown if there's something to go back to. So it should be visible if you came from "Change image", but not if you came from "Insert media". If the "Go back" button is hidden, the footer is empty, so hide it completely in that case. Hiding the footer is tricky due to how dialogs position things, so I hacked around OO.ui.Dialog's lack of an API for toggling the visibility of the footer. Change-Id: Ic97c4a2bf7beaa240e5a4dfda1e605752e1f4189 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-wmf/i18n |