mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Roan Kattouw 96000558a2 Don't select nodes inserted by a dialog, but drop cursor after
It used to be that when you closed a dialog, the thing that the dialog
inspected or inserted would be selected. For insertions, the selection
will now be collapsed immediately after the inserted node.
For modifications, the original behavior was kept, as it makes sense to
keep selecting the node that the user had to select in order to access
the dialog. For removals (only possible in the transclusion dialog),
the selection ends up as a collapsed selection at the location where
the removed node used to be; this was already behaving correctly,
as we get this behavior for free with offset translation.

Bug: 54957
Change-Id: Ibd14e8084d67a9ee85e3bac075c3fb50f27b05b2
2013-12-09 18:02:18 -08:00
..
ve.ui.MWAdvancedTransclusionDialog.js Refactor Transclusion and Meta dialogs to use BookletLayout 2013-12-05 16:26:26 -08:00
ve.ui.MWBetaWelcomeDialog.js Pass the mw.user directly into {{GENDER:}} 2013-11-20 10:51:32 +00:00
ve.ui.MWMediaEditDialog.js Add fixUpInsertion to newFromDocumentReplace 2013-11-20 11:24:06 +00:00
ve.ui.MWMediaInsertDialog.js Don't select nodes inserted by a dialog, but drop cursor after 2013-12-09 18:02:18 -08:00
ve.ui.MWMetaDialog.js Refactor Transclusion and Meta dialogs to use BookletLayout 2013-12-05 16:26:26 -08:00
ve.ui.MWReferenceDialog.js Don't select nodes inserted by a dialog, but drop cursor after 2013-12-09 18:02:18 -08:00
ve.ui.MWReferenceListDialog.js Don't select nodes inserted by a dialog, but drop cursor after 2013-12-09 18:02:18 -08:00
ve.ui.MWSaveDialog.js Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.ui.MWTemplateDialog.js Refactor Transclusion and Meta dialogs to use BookletLayout 2013-12-05 16:26:26 -08:00
ve.ui.MWTransclusionDialog.js Don't select nodes inserted by a dialog, but drop cursor after 2013-12-09 18:02:18 -08:00