mediawiki-extensions-Visual.../modules/ve/ui
Roan Kattouw 983d9287e9 When editing meta items, modify them rather than rebuiding them
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
2013-06-10 14:36:35 -07:00
..
actions FocusedNode Selection 2013-06-07 17:49:35 -07:00
dialogs When editing meta items, modify them rather than rebuiding them 2013-06-10 14:36:35 -07:00
elements ve.Element refactor 2013-05-14 19:47:32 +00:00
inspectors Consistent use of mw in HTML classes, and data element and annotation types 2013-05-28 13:49:56 +01:00
layouts Fix documentation for GridLayout to add a return type 2013-05-25 12:48:17 +02:00
styles Image insertion 2013-06-06 17:36:55 -07:00
tools Image insertion 2013-06-06 17:36:55 -07:00
widgets Image insertion 2013-06-06 17:36:55 -07:00
ve.ui.Action.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.ActionFactory.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.CommandRegistry.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.Context.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Dialog.js Prevent scrolling in top-level window while dialog is open 2013-06-06 23:43:19 +00:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Frame.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Inspector.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.InspectorFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Layout.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Surface.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Tool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Toolbar.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.ToolFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ui.Trigger.js jshint: Fix trailing comma 2013-06-05 13:00:49 +02:00
ve.ui.TriggerRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ViewRegistry.js Link inspector fixes 2013-04-24 18:29:55 -07:00
ve.ui.Widget.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Window.js Pending input refactor 2013-06-06 21:17:35 +00:00
ve.ui.WindowSet.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00