mediawiki-extensions-Visual.../modules
Timo Tijhof 7f01c9fadc mw.ViewPageTarget: Fix incomplete teardown sequence in #deactivate
When deactivating before the surface became active (e.g.
this.active is still false, as case is the case when Parsoid
isn't running), the teardown sequence was incomplete.

Most notable, the page title (h1.firstHeading) was still dimmed
after cancelling the alert for Parsoid error, eventhough
everything else was shown and restored.

* Moved call to #showTableOfContents in #deactivate up for
  consistency with #activate.
* Added call to #restorePageTitle in #deactivate so that the
  title is restored even if the surface didn't activate yet.
* Removed calls to various methods in #tearDownSurface that
  were already called by #deactivate.

Now activate/deactivate and setUpSurface/tearDownSurface are
in balance.

Change-Id: Ibb2fbf0e5ab9b6a028d4e139c13aa7ff8c82be82
2013-10-06 21:50:06 +02:00
..
jquery jquery.client: Update to upstream from 92f06b4a in mediawiki/core.git 2013-07-10 23:23:11 +02:00
jquery.uls Language Inspector UI 2013-07-29 00:38:59 -04:00
oojs oojs: Update to upstream v1.0.2 2013-07-25 17:57:41 +00:00
qunit
rangy
syntaxhighlight Fix name of syntaxHighlight icon file 2013-10-03 17:30:27 -07:00
unicodejs Fix typo (was comma instead of semicolon) 2013-08-28 11:51:52 -07:00
ve Fixup for IconButtonWidget load order 2013-10-05 10:45:03 +01:00
ve-mw mw.ViewPageTarget: Fix incomplete teardown sequence in #deactivate 2013-10-06 21:50:06 +02:00