r101379 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101378‎ | r101379 | r101380 >
Date:18:33, 31 October 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed some issues from migrated code
Modified paths:
  • /trunk/parsers/wikidom/lib/hype/bases/es.DocumentViewBranchNode.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/hype/bases/es.DocumentViewBranchNode.js
@@ -34,9 +34,9 @@
3535 es.DocumentViewBranchNode.prototype.drawSelection = function( range ) {
3636 var nodes = this.selectNodes( range, true );
3737 for ( var i = 0; i < this.length; i++ ) {
38 - if ( nodes.length && this[i] === nodes[0] ) {
39 - for ( var j = 0; j < nodes.on.length; j++ ) {
40 - nodes.on[j].node.drawSelection( nodes.on[j].range );
 38+ if ( nodes.length && this[i] === nodes[0].node ) {
 39+ for ( var j = 0; j < nodes.length; j++ ) {
 40+ nodes[j].node.drawSelection( nodes[j].range );
4141 i++;
4242 }
4343 } else {

Status & tagging log