mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions Open the linkNode inspector when pressing Ctrl+K on a link node 2014-10-21 19:47:42 -07:00
dialogs Fix craziness in template dialog focusing 2014-11-07 16:41:03 -08:00
inspectors MWLinkNodeInspector: Provide an open button here too 2014-10-21 20:00:27 -07:00
pages Merge "Replacing MWTitleInputWidget.getValue() with MWTitleInputWidget.getTitle()" 2014-11-04 01:18:38 +00:00
styles Fix indicator alignment in MWCategoryItemWidget 2014-11-04 16:53:11 -08:00
themes Matching pages from suggestions in link dialog now actually work as links 2014-11-06 13:46:09 -08:00
tools Update VE core submodule to master (a942301) 2014-11-04 14:11:04 -08:00
widgets Merge "Matching pages from suggestions in link dialog now actually work as links" 2014-11-06 21:49:07 +00:00
ve.ui.MWCommandRegistry.js Update VE core submodule to master (a942301) 2014-11-04 14:11:04 -08:00
ve.ui.MWMobileContext.js Update VE core submodule to master (db78bdd) 2014-10-20 12:43:39 -07:00
ve.ui.MWMobileSurface.js Update VE core submodule to master (db78bdd) 2014-10-20 12:43:39 -07:00