mediawiki-extensions-Multim.../tests/qunit/mmv
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
..
logging Move logging-related code to its own directory 2014-09-04 23:34:45 +00:00
model Remove categories 2014-09-09 13:23:50 +00:00
provider Remove categories 2014-09-09 13:23:50 +00:00
routing Fix link to media viewer with proper namespace 2014-08-26 01:00:37 +00:00
ui Remove tooltip for view-file 2014-09-11 10:41:45 -07:00
mmv.bootstrap.test.js Make sure event handlers are set up even if onready handler is lost 2014-09-12 23:49:43 +00:00
mmv.Config.test.js Fix preference DB values 2014-08-26 10:37:38 +00:00
mmv.EmbedFileFormatter.test.js Remove trainling dot from download attibution text to not break URLs 2014-07-02 01:11:02 +00:00
mmv.HtmlUtils.test.js Fixes various bugs in IE 2014-04-07 22:00:11 +00:00
mmv.lightboximage.test.js Fix resize issues (Part II) 2014-02-28 10:22:21 +01:00
mmv.lightboxinterface.test.js Go to the original image on image clicks 2014-09-05 10:19:00 -07:00
mmv.test.js Remove file usage 2014-09-05 08:14:52 +02:00
mmv.testhelpers.js Add routing classes 2014-04-16 12:40:17 +02:00
mmv.ThumbnailWidthCalculator.test.js Fix resize issues (Part III, Fin) 2014-03-05 00:14:54 +00:00