mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +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 |
||
---|---|---|
.. | ||
actions | ||
dialogs | ||
elements | ||
inspectors | ||
layouts | ||
styles | ||
tools | ||
widgets | ||
ve.ui.Action.js | ||
ve.ui.ActionFactory.js | ||
ve.ui.CommandRegistry.js | ||
ve.ui.Context.js | ||
ve.ui.Dialog.js | ||
ve.ui.DialogFactory.js | ||
ve.ui.Frame.js | ||
ve.ui.Inspector.js | ||
ve.ui.InspectorFactory.js | ||
ve.ui.js | ||
ve.ui.Layout.js | ||
ve.ui.Surface.js | ||
ve.ui.Tool.js | ||
ve.ui.Toolbar.js | ||
ve.ui.ToolFactory.js | ||
ve.ui.Trigger.js | ||
ve.ui.TriggerRegistry.js | ||
ve.ui.ViewRegistry.js | ||
ve.ui.Widget.js | ||
ve.ui.Window.js | ||
ve.ui.WindowSet.js |