From 7ed197c7a6e61aede9477fce0c6bf8b2f4530608 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 24 Sep 2013 16:47:56 -0700 Subject: [PATCH] Pass config object from ce.GeneratedContentNode.update() to forceUpdate() This is obviously necessary, but wasn't done, so calling update() with a config object was broken. Change-Id: I30d67bcb117885c792c0f08ea55d60cb294de18b --- modules/ve/ce/nodes/ve.ce.GeneratedContentNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve/ce/nodes/ve.ce.GeneratedContentNode.js b/modules/ve/ce/nodes/ve.ce.GeneratedContentNode.js index 4cb042125a..d57144d881 100644 --- a/modules/ve/ce/nodes/ve.ce.GeneratedContentNode.js +++ b/modules/ve/ce/nodes/ve.ce.GeneratedContentNode.js @@ -113,7 +113,7 @@ ve.ce.GeneratedContentNode.prototype.update = function ( config ) { if ( index !== null ) { this.render( store.value( index ) ); } else { - this.forceUpdate(); + this.forceUpdate( config ); } };