mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
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
..
ve.ui.MWBetaWelcomeDialog.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWCancelConfirmDialog.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWCitationDialog.js Followup b8d8a5b: pass selections, not ranges, to SurfaceFragment#clone 2014-10-08 20:00:21 +00:00
ve.ui.MWCommandHelpDialog.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWMediaDialog.js Toolbar: Make styling and insert menus collapsible 2014-10-30 12:22:20 -07:00
ve.ui.MWMetaDialog.js Pass $overlay to redirectTargetInput in MWSettingsPage 2014-11-01 04:49:36 +00:00
ve.ui.MWReferenceDialog.js Add forgotten $overlay pass-through in MWReferenceDialog 2014-10-30 14:50:10 -07:00
ve.ui.MWReferencesListDialog.js Pass $overlay to widgets that need it 2014-10-27 17:36:19 -07:00
ve.ui.MWRequiredParamBlankConfirmDialog.js Get confirmation when trying to insert/edit template/citation with required parameters missing 2014-09-17 12:31:23 -07:00
ve.ui.MWSaveDialog.js Disable review button while save dialog is pending 2014-11-05 23:36:33 +00:00
ve.ui.MWTemplateDialog.js Remove more references to ve.bind 2014-10-30 20:55:44 +00:00
ve.ui.MWTransclusionDialog.js Fix craziness in template dialog focusing 2014-11-07 16:41:03 -08:00
ve.ui.MWWikitextSwitchConfirmDialog.js Show pending state on action button and keep dialog open when switching to source mode 2014-09-15 20:44:55 +01:00