mediawiki-extensions-Visual.../modules/ve-mw/init
Roan Kattouw e644d33a8d Follow-up 5c38995bd9: don't destroy toolbar twice
The toolbar.destroy() call that was added in 5c38995bd9 was
needed to destroy the dummy toolbar when tearing down VE
before a surface had been intialized. But when tearing down
VE after the surface had been initialized (e.g. exiting using
the Read tab), we would do:

* setTimeout in tearDownToolbar()
** Set toolbar height to 0 and wait for transitionend
*** toolbar.destroy() once transition complete
* toolbar.destroy() in cancel()

This meant that we'd listen for a transitionend event
on an unattached element (because once the setTimeout runs,
the toolbar has already been destroyed by the second call),
which of course never fires, so we'd never resolve the
tearDownToolbar deferred and never finish tearing down VE.

Bug: T98388
Change-Id: I504f0cb0bf13643773fc98cb18b7b380cccb2f88
2015-05-06 16:18:45 -07:00
..
styles Revert "Be more selective in application of 0.8em font size" 2015-05-06 17:08:49 +00:00
targets Follow-up 5c38995bd9: don't destroy toolbar twice 2015-05-06 16:18:45 -07:00
ve.init.mw.ApiResponseCache.js Remove unless, and almost-useless closures in response cache 2015-04-30 17:26:05 +00:00
ve.init.mw.ImageInfoCache.js Remove unless, and almost-useless closures in response cache 2015-04-30 17:26:05 +00:00
ve.init.mw.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.LinkCache.js Remove unless, and almost-useless closures in response cache 2015-04-30 17:26:05 +00:00
ve.init.mw.Platform.init.js Don't self-instantiate platform 2015-04-15 18:46:34 -07:00
ve.init.mw.Platform.js Allow special characters with tooltip or that encapsulate text 2015-04-22 17:46:00 -07:00
ve.init.mw.Target.js Port ve.init.mw.Target to ve.fixBase() 2015-04-24 14:41:22 -07:00
ve.init.mw.TargetEvents.js Make activation timings sent to EventLogging not lie 2015-04-14 21:57:11 +00:00
ve.init.mw.TargetLoader.js Also load mwformatting in mobile 2015-04-17 10:55:25 -07:00
ve.init.mw.trackSubscriber.js Set targetName for apiLoad and restbaseLoad metrics to the correct values again 2015-04-09 13:57:25 +01:00