r91325 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91324‎ | r91325 | r91326 >
Date:23:20, 1 July 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed multi-line delete
Modified paths:
  • /trunk/parsers/wikidom/lib/es/es.ParagraphBlock.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/es/es.ParagraphBlock.js
@@ -89,7 +89,7 @@
9090 from.line.text = from.line.text.substring( 0, from.offset )
9191 + to.line.text.substring( to.offset );
9292 // Remove lines after "from" up to and including "to"
93 - this.lines = this.lines.splice( from.index + 1, to.index - from.index );
 93+ this.lines.splice( from.index + 1, to.index - from.index );
9494 }
9595 this.updateText();
9696 this.flow.render();

Status & tagging log