mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
983d9287e9
When editing the default sort key or a category's sort key, we would just build a brand new meta item and replace the original item with it. This destroys whitespace information tracked in the .internal property though, so the resulting diffs looked pretty bad. Instead, use ve.extendObject() to base the new meta item on the old one, changing only what we need to change and keeping .internal (and htmlAttributes and anything else that may be hiding in there) intact. Change-Id: I40f4403ea2f2d13542d2e3c8c53e2d7f79515381 |
||
---|---|---|
.. | ||
ve.ui.ContentDialog.js | ||
ve.ui.MediaDialog.js | ||
ve.ui.MWMediaInsertDialog.js | ||
ve.ui.MWMetaDialog.js | ||
ve.ui.MWReferenceDialog.js | ||
ve.ui.MWTemplateDialog.js | ||
ve.ui.PagedDialog.js |