mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
Merge "VE: Update group ordering when node is converted from placeholder"
This commit is contained in:
commit
8ef6751c55
|
@ -492,6 +492,9 @@ ve.dm.MWReferenceNode.prototype.removeFromInternalList = function () {
|
|||
};
|
||||
|
||||
ve.dm.MWReferenceNode.prototype.onAttributeChange = function ( key, from, to ) {
|
||||
if ( key === 'placeholder' ) {
|
||||
this.getDocument().getInternalList().markGroupAsChanged( this.registeredListGroup );
|
||||
}
|
||||
if (
|
||||
( key !== 'listGroup' && key !== 'listKey' ) ||
|
||||
( key === 'listGroup' && this.registeredListGroup === to ) ||
|
||||
|
|
Loading…
Reference in a new issue