mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "ve.ui.MWMetaDialog: Consider category sortkeys when checking for changes"
This commit is contained in:
commit
8a117d1272
|
@ -154,7 +154,7 @@ ve.ui.MWMetaDialog.prototype.extractSettings = function () {
|
|||
} else if ( field instanceof OO.ui.ButtonOptionWidget ) {
|
||||
return field.selected;
|
||||
} else if ( field instanceof ve.ui.MWCategoryItemWidget ) {
|
||||
return field.value;
|
||||
return { value: field.value, sortKey: field.sortKey };
|
||||
} else {
|
||||
throw new Error( 'Unhandled widget type', field );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue