r105713 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105712‎ | r105713 | r105714 >
Date:20:46, 9 December 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Moved refocusing on surface view input up to es.Inspector
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/bases/es.Inspector.js (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js
@@ -78,7 +78,6 @@
7979 { 'type': 'link/internal', 'data': { 'title': title } }
8080 );
8181 surfaceModel.transact( set );
82 - surfaceView.$input.focus();
8382 };
8483
8584 /* Inheritance */
Index: trunk/extensions/VisualEditor/modules/es/bases/es.Inspector.js
@@ -49,6 +49,7 @@
5050 this.onClose();
5151 }
5252 this.emit( 'close' );
 53+ surfaceView.$input.focus();
5354 };
5455
5556 /* Inheritance */

Status & tagging log