Merge "ve.ui.MWMetaDialog: Consider category sortkeys when checking for changes"

This commit is contained in:
jenkins-bot 2018-10-30 21:01:33 +00:00 committed by Gerrit Code Review
commit 8a117d1272

View file

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