mediawiki-extensions-Visual.../modules/ve-mw/init/targets
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
..
ve.init.mw.MobileViewTarget.js Change command list from whitelist to blacklist 2014-11-24 18:28:37 +00:00
ve.init.mw.ViewPageTarget.init.js ViewPageTarget.init: Correct docs: ve.libs.mw → mw.libs.ve 2014-12-01 20:59:53 +01:00
ve.init.mw.ViewPageTarget.js Clean up deactivate mess 2014-12-02 16:50:36 -08:00