mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Update VE core submodule to master (a1e9df1)
Also adjust calls to InputWidget methods changed in I324dfc2 in OOUI. New changes: 9da32d7 Update OOjs UI to v0.1.0-pre (e6edd86d37) b6aa671 Localisation updates from https://translatewiki.net. 1cba6e0 Update OOjs UI to v0.1.0-pre (9a6c625f5f) 94629f9 Localisation updates from https://translatewiki.net. Change-Id: Id58d199c7ce3332a104ab2a5c395561ab94ae060
This commit is contained in:
parent
e86ed0c2fb
commit
62324167ff
2
lib/ve
2
lib/ve
|
@ -1 +1 @@
|
|||
Subproject commit ca76a5bb43f5716a7949975f250a007751a86643
|
||||
Subproject commit a1e9df14f6107948f296bbeeb15fb7ea93ca83e2
|
|
@ -189,7 +189,7 @@ ve.ui.MWMediaInsertDialog.prototype.setup = function ( data ) {
|
|||
// Initialization
|
||||
// This must be done only after there are proper
|
||||
// sources defined
|
||||
this.search.getQuery().$input.focus().select();
|
||||
this.search.getQuery().focus().select();
|
||||
this.search.getResults().selectItem();
|
||||
this.search.getResults().highlightItem();
|
||||
}, this ) );
|
||||
|
@ -199,7 +199,7 @@ ve.ui.MWMediaInsertDialog.prototype.setup = function ( data ) {
|
|||
* @inheritdoc
|
||||
*/
|
||||
ve.ui.MWMediaInsertDialog.prototype.teardown = function ( data ) {
|
||||
this.search.clear();
|
||||
this.search.getQuery().setValue( '' );
|
||||
|
||||
// Parent method
|
||||
ve.ui.Dialog.prototype.teardown.call( this, data );
|
||||
|
|
|
@ -282,7 +282,7 @@ ve.ui.MWReferenceDialog.prototype.initialize = function () {
|
|||
this.applyButton.$element.hide();
|
||||
this.selectButton.$element.hide();
|
||||
this.panels.setItem( this.searchPanel );
|
||||
this.search.getQuery().$input.focus().select();
|
||||
this.search.getQuery().focus().select();
|
||||
} } );
|
||||
this.backButton.connect( this, { 'click': function () {
|
||||
this.backButton.$element.hide();
|
||||
|
@ -333,7 +333,8 @@ ve.ui.MWReferenceDialog.prototype.setup = function ( data ) {
|
|||
* @inheritdoc
|
||||
*/
|
||||
ve.ui.MWReferenceDialog.prototype.teardown = function ( data ) {
|
||||
this.search.clear();
|
||||
this.search.getQuery().setValue( '' );
|
||||
|
||||
this.referenceSurface.destroy();
|
||||
this.referenceSurface = null;
|
||||
this.referenceModel = null;
|
||||
|
|
|
@ -111,7 +111,7 @@ ve.ui.MWExtensionInspector.prototype.ready = function () {
|
|||
ve.ui.Inspector.prototype.ready.call( this );
|
||||
|
||||
// Focus the input
|
||||
this.input.$input.focus().select();
|
||||
this.input.focus().select();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue