r113739 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113738‎ | r113739 | r113740 >
Date:18:12, 13 March 2012
Author:christian
Status:deferred
Tags:
Comment:
replacing showCursorAt calls with correct showCursor method
Modified paths:
  • /trunk/extensions/VisualEditor/modules/ve/ce/ve.ce.Surface.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/ve/ce/ve.ce.Surface.js
@@ -760,7 +760,7 @@
761761 cursorAt = selection.start;
762762 }
763763 this.documentView.renderContent();
764 - this.showCursorAt(cursorAt);
 764+ this.showCursor(cursorAt);
765765 var _this = this;
766766 setTimeout( function() {
767767 _this.poll.prevText = _this.poll.prevHash = _this.poll.prevOffset = _this.poll.node = null;
@@ -819,7 +819,7 @@
820820 this.model.getDocument().getRelativeContentOffset( selection.to, 1 );
821821 }
822822 this.documentView.renderContent();
823 - this.showCursorAt(selection.to);
 823+ this.showCursor(selection.to);
824824 var _this = this;
825825 setTimeout( function() {
826826 _this.poll.prevText = _this.poll.prevHash = _this.poll.prevOffset = _this.poll.node = null;

Status & tagging log