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:
Trevor Parscal 2014-05-02 15:47:17 -07:00 committed by Roan Kattouw
parent e86ed0c2fb
commit 62324167ff
4 changed files with 7 additions and 6 deletions

2
lib/ve

@ -1 +1 @@
Subproject commit ca76a5bb43f5716a7949975f250a007751a86643
Subproject commit a1e9df14f6107948f296bbeeb15fb7ea93ca83e2

View file

@ -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 );

View file

@ -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;

View file

@ -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();
};
/**