mediawiki-extensions-Multim.../resources
Gergő Tisza 4b6e44a2fc Make sure event handlers are set up even if onready handler is lost
Due to a jQuery bug, errors in local code (gadgets, user scripts)
can cause onready handlers to not be executed. For MMV this causes
catastrophic failure, with a black screen of death on exit.

This change makes sure that the setup code necessary for Media
Viewer to work is executed at latest when MV is invoked, even if some
onready handlers were skipped.

Opening MediaViewer via a hash-URL will still not work if the onready
handler fails, but that's hard to avoid and it is not a catastrophic
failure anymore. This change can be reverted when bug 70772 gets fixed.

Bug: 70756
Change-Id: Ida3b780791bc9dfec29303567d33e3aa4f44dd81
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/891
2014-09-12 23:49:43 +00:00
..
jquery.hashchange Remove $.browser call in jquery.hashchange 2014-07-10 15:12:41 -04:00
jquery.scrollTo Clicking on the chevron should open/close the details 2014-01-15 09:21:58 +01:00
mmv Make sure event handlers are set up even if onready handler is lost 2014-09-12 23:49:43 +00:00