r105760 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105759‎ | r105760 | r105761 >
Date:10:33, 10 December 2011
Author:inez
Status:deferred
Tags:
Comment:
Fix bug: cursor is not visible when you click outside of surface and then click back in the surface at the same offset where cursor was before
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/models/es.SurfaceModel.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/models/es.SurfaceModel.js
@@ -62,16 +62,16 @@
6363 */
6464 es.SurfaceModel.prototype.select = function( selection, isManual ) {
6565 selection.normalize();
66 - if (
 66+ /*if (
6767 ( ! this.selection ) || ( ! this.selection.equals( selection ) )
68 - ) {
 68+ ) {*/
6969 if ( isManual ) {
7070 this.breakpoint();
7171 }
7272 // check if the last thing is a selection, if so, swap it.
7373 this.selection = selection;
7474 this.emit( 'select', this.selection.clone() );
75 - }
 75+ //}
7676 };
7777
7878 /**

Status & tagging log