mediawiki-extensions-Visual.../modules/ve/ui/dialogs
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
..
ve.ui.ContentDialog.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.MediaDialog.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.MWMediaInsertDialog.js Image insertion 2013-06-06 17:36:55 -07:00
ve.ui.MWMetaDialog.js When editing meta items, modify them rather than rebuiding them 2013-06-10 14:36:35 -07:00
ve.ui.MWReferenceDialog.js Insert Reference 2013-06-10 20:14:08 +01:00
ve.ui.MWTemplateDialog.js HACK: Update template dialog for Parsoid's url -> href change 2013-06-07 00:09:04 +00:00
ve.ui.PagedDialog.js Code style fixes: 'function(' => 'function (' 2013-06-06 13:02:16 +01:00