HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer…

Authored by Tgr.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer 194876ba58352e2133a03b2c0ea44cb149e3c315

Fix share tabs

The share/embed tab bar used some hacks to disable MenuSelectWidget's
normal behavior of disappearing once a selection has been made; after
the last OOUI update this doesn't work anymore.

This commit makes some small changes to make it work again:

  • replace .show() with .toggle() as the widget uses a custom show/hide mechanism now
  • reorder some calls - .toggle() has no effect as long as the menu has no options
  • disable autoHide which would hide the menu when the user clicks outside (didn't test if it is really needed but seemed reasonable)

Also undoes some CSS changes that came with the update.

Bug: T89531
Change-Id: I3688ec21250bf2eb8dbfd67e306e857028d71fc7

Details

Committed
Gerrit Code ReviewFeb 16 2015, 1:51 PM
Parents
rMEXT6b212201b867: Updated mediawiki/extensions Project: mediawiki/extensions/UploadWizard…
Branches
Unknown
Tags
Unknown
ChangeId
I3688ec21250bf2eb8dbfd67e306e857028d71fc7

Event Timeline