mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Roan Kattouw 3f15c5be5d MWMediaDialog: Focus the right thing on ready, depending on the panel shown
The ready handler unconditionally focused the surface, even if
a different panel was shown. Prior to aa9eb9545 this didn't
actually break the search mode, because the search input was
focused after the image repo information came back, which
usually happened after ready. However, aa9eb9545 instead focused
the search input from the setup process, which is too early.

Also introduce this.currentPanel as a way to track
which panel is currently visible.

Bug: T88881
Change-Id: I0189fbeed73ee9103e45fec4a1bc8d4ee1b6ed40
2015-02-06 18:12:06 -08:00
..
ve.ui.MWBetaWelcomeDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWCancelConfirmDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWCitationDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWCommandHelpDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWMediaDialog.js MWMediaDialog: Focus the right thing on ready, depending on the panel shown 2015-02-06 18:12:06 -08:00
ve.ui.MWMetaDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWReferenceDialog.js Use css class instead of jquery show/hide 2015-02-06 11:03:59 -08:00
ve.ui.MWReferencesListDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWRequiredParamBlankConfirmDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWSaveDialog.js Use css class instead of jquery show/hide 2015-02-06 11:03:59 -08:00
ve.ui.MWTemplateDialog.js build: Bump devDependencies to latest 2015-02-02 14:30:39 -08:00
ve.ui.MWTransclusionDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ui.MWWikitextSwitchConfirmDialog.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00