mediawiki-extensions-Visual.../modules
Roan Kattouw 500570b4ca Restore selection when editor is refocused
When the editor is focused, the selection goes back to the start of
the document. This was remedied in the .focus() method, but not in
response to native focus events, so when external code blurred then
refocused the editor, the selection would move to the top.

This broke section editing on wikis where ULS is installed: the
selection would be initialized at the start of the section, but then
ULS would load and blur the documentNode (by focusing the pasteTarget)
and then focus it again, so the selection would move to the top.

Instead of restoring the selection only in .focus(), restore it in
response to focus events on the documentNode. When this is done,
saving and restoring the scrollTop is no longer needed.

Bug: 56651
Change-Id: I14700174ee092f9b208215d31a7d1871078a89bf
2013-11-07 12:09:02 -08: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 Merge "Work around crazy Chrome bug" 2013-11-04 19:12:01 +00:00
qunit
rangy
syntaxhighlight Rename this.$ to this.$element, and this.$$ to this.$ 2013-11-03 23:03:49 -08:00
unicodejs
ve Restore selection when editor is refocused 2013-11-07 12:09:02 -08:00
ve-mw Make sure all links have target=_blank in the save dialog 2013-11-05 21:23:02 +00:00