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
This commit is contained in:
Roan Kattouw 2013-09-24 16:47:56 -07:00
parent 885c0a5495
commit 7ed197c7a6

View file

@ -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 );
}
};