mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw a86d824c56 Fix craziness in template dialog focusing
setMode() is called multiple times, but it didn't
check whether the mode being set was already set.
Because it's a setter, make it idempotent.

This fixes the problem where the first input will
be focused first, then blurred later, but it
introduces a new problem because the label for
the 'mode' ActionWidget is set from setMode().
To solve that, factor the setting of this label
out into its own function and call it on setup.

Bug: 73138
Change-Id: I9bb127f22f6c0b745b393c523ec42f320fc85cf3
2014-11-07 16:41:03 -08:00
..
ce Create mwTables with wikitable attribute by default 2014-10-29 12:52:24 -07:00
dm Support pre's in tables 2014-11-07 15:44:13 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-11-06 21:56:21 +01:00
init Merge "Refactor out show/hide loading spinner" 2014-11-06 18:39:06 +00:00
tests Merge "Allow headings in table cells" 2014-11-05 23:52:23 +00:00
ui Fix craziness in template dialog focusing 2014-11-07 16:41:03 -08:00