mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
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:
parent
885c0a5495
commit
7ed197c7a6
|
@ -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 );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue