r92668 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92667‎ | r92668 | r92669 >
Date:19:19, 20 July 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed document block removal
Modified paths:
  • /trunk/parsers/wikidom/lib/es/es.Document.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/es/es.Document.js
@@ -103,6 +103,8 @@
104104 block.removeAllListeners( 'update' );
105105 this.blocks.splice( block.getIndex(), 1 );
106106 block.document = null;
 107+ block.$.detach();
 108+ this.emit( 'update' );
107109 };
108110
109111 es.Document.prototype.renderBlocks = function( offset ) {

Status & tagging log