mediawiki-extensions-Visual.../modules/ve-mw/init
Roan Kattouw dbf232a7dc Clean up deactivate mess
Both onDocumentKeyDown and onViewTabClick would check
this.activating and invoke deactivate() differently depending
on its value. That's ugly, so incorporate the "don't show a dialog
if deactivating during activation" logic into deactivate() itself.

Rename the override parameter to noDialog, and fix the broken
logic around it (it overrode too much).

Also move setting this.activating = false; out of these event
handlers into cancel(), where it clearly belongs because
activatingDeferred is being rejected there.

Change-Id: I6c040c74d36f829128a175f00d4e712dd19d31a7
2014-12-02 16:50:36 -08:00
..
styles Fix MW skin hacks 2014-11-22 17:52:46 +00:00
targets Clean up deactivate mess 2014-12-02 16:50:36 -08:00
ve.init.mw.js Use registered target, instead of ve.init.Target 2014-06-17 20:41:01 +01:00
ve.init.mw.LinkCache.js Make LinkCache fail more gracefully when given undefined 2014-12-02 14:02:45 -08:00
ve.init.mw.Platform.js Use hasOwnProperty instead of 'key in obj' 2014-11-05 20:54:50 +00:00
ve.init.mw.Target.js Remove duplicate startSanityCheck from ViewPageTarget 2014-12-01 19:19:51 +00:00
ve.init.mw.TargetEvents.js Track new pagedeleted save error in TargetEvents 2014-12-01 17:58:31 -08:00
ve.init.mw.trackSubscriber.js Revert "ve.init.mw.trackSubscriber: Populate platform field with hack" 2014-11-26 01:55:30 +00:00