We were reimplementing (incompletely) the setup from the .init version. Just
call the original, modified slightly so it doesn't over-setup on repeated
calls.
Bug: T151021
Change-Id: I65bd7c5ecf75c478d6babeb13e7fb2a76a9842c8
New changes:
f5ffe3713 Localisation updates from https://translatewiki.net.
7a829c165 Fix CSS for context menus after changes in OOjs UI
6d90b80c1 ve.ui.LinearContextItem: Workaround for T178336
Bug: T178324
Change-Id: Ifb4c592b506974d020de64d71388d0f20560b299
Override ve.ce.FocusableNode#hasRendering with a model-based test to
improve efficiency and avoid some unnecessary DOM measurements.
Change-Id: Ice7aebcc2f30dc73ef049a6ed0d4a0cffe86d8e2
The whitelist isn't checked for blacklisted browsers,
so if all non-blacklisted browsers are whitelisted,
set the whitelist definition to all (null).
Change-Id: I8ee3569d9d5be2eda9153f1b087c1be385f93d9c
New changes:
33e74b92f ve.ce.Surface: When destroying, blur before disconnecting model events
Bug: T166634
Change-Id: I0f638aff7e46f0972517ad22f5cb97c330298308
ve.init.Target sets up TriggerListeners based on getSurfaceConfig if there's
no Surface instantiated. As such, loading directly in source mode would have
those listeners present and assuming the document is in visual mode. So, if
there's not a Surface already, we'll assume we're going to get one created
with the defaultMode, and set things up expecting that.
Bug: T153959
Change-Id: Ia0afe32e6b63ea0d3418137ca5c8bc32c009ecfa
New changes:
1c8ca38 Don't assume events have an originalEvent object
c5c5123 Localisation updates from https://translatewiki.net.
Bug: T176104
Change-Id: I2e503ee6b3d4484a4f1b3567fde7281bef68a7b9
New changes:
b64a2a6db Replace abandoned colors wo WikimediaUI palette ones
4e29d197d Align `border-radius` to WikimediaUI Base values
Change-Id: I8c1d68346ba189cf77f004553923c21b405a33e7
* Rename 'deactivate' to 'tryDeactivate' as it may prompts
the user to deactivate.
* Merge 'cancel' and 'teardownSurface' in to 'teardown',
extending the parent method.
* Rename elementsThatHadOurAccessKey to $saveAccessKeyElements
and move teardown to parent class where it is setup.
* Move toolbarSaveButton teardown to parent class where it is setup.
* Cleanup changeDocumentTitle
Depends-On: I9d97614695272dca6936ef6f3461178fcf0368a8
Change-Id: Ie998a04c21f6615b4415edf471310db5edca3b5a
New changes:
0aa3e79d2 Update OOjs UI to v0.23.3
0c00812bc Localisation updates from https://translatewiki.net.
0c062b9b2 Cleanup target teardown API
Change-Id: I41e07963a6565ed29752645ae8acf64350daa677