mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
VE: Update group ordering when node is converted from placeholder
Logically depends on I45c7ab5fe5cd. Bug: T332799 Change-Id: I143fa0d45572677d09320fff88076a53253ad714
This commit is contained in:
parent
2d6868cfe3
commit
b4b6dbba95
|
@ -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