mediawiki-extensions-Visual.../modules
Roan Kattouw da4995888b Close inspectors when surface is focused but selection doesn't change
It's possible for the user to put the cursor back from the inspector
in the surface without triggering a selection change, if the selection
was collapsed and they clicked in exactly the right spot.
In practice, this can happen if the link inspector is open in creation
mode and the user clicks to drop the cursor at the same position where
it was when the inspector was opened.

When this happens, the inspector wouldn't close, because it only closed
in response to selection changes. If the user then typed something,
weird things would happen.

To prevent this state (cursor is in surface but inspector is open) from
occurring, close the inspector and hide the context when the document is
focused. This fixes the link inspector creation mode issue, and it also
causes the link inspector to no longer briefly remain visible after the
user has clicked out of it.

Bug: 56976
Change-Id: Ib70fc13031873009a175e4b049a07694a87ce25d
2013-12-02 23:52:54 +00:00
..
jquery
jquery.uls
jsdifflib Use jsdifflib for QUnit diff 2013-10-23 20:31:17 +00:00
oojs Update oojs to v1.0.5 2013-10-23 03:16:21 +02:00
oojs-ui Update OOJS UI to v0.1.0-pre (e5ef1e5b28) 2013-11-25 10:47:49 +00:00
qunit
rangy
syntaxhighlight Fix icon opacities 2013-11-22 13:47:20 +00:00
unicodejs Revert model to use simple UTF-16 code units 2013-11-26 19:38:14 +00:00
ve Close inspectors when surface is focused but selection doesn't change 2013-12-02 23:52:54 +00:00
ve-mw Merge "Make veaction=edit work regardless of user preference" 2013-12-02 23:43:52 +00:00