mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Thalia 43c2865f90 Update actions on live inspectors and preview dialogs
Make inspectors inheriting from MWLiveExtensionInspector
and dialogs inheriting from MWExtensionPreviewDialog
update their 'done' action every time updatePreview is
called. Since both mix in ExtensionWindow, two new methods,
updateActions and isModified are added there.

This should make it more difficult to insert an empty node
accidentally or create a transaction just by opening and
closing an inspector or dialog.

For more complicated dialogs, or inspectors or dialogs
that don't live-update, this behaviour will have to be
implemented separately.

Bug: T155330
Change-Id: Iacafa01fcd419faaec9b112c96be86693a57d561
2017-01-21 18:29:18 +00:00
..
ve.ui.MWCancelConfirmDialog.js
ve.ui.MWCommandHelpDialog.js
ve.ui.MWExtensionDialog.js
ve.ui.MWExtensionPreviewDialog.js Update actions on live inspectors and preview dialogs 2017-01-21 18:29:18 +00:00
ve.ui.MWGalleryDialog.js
ve.ui.MWMediaDialog.js Merge "rm stray fileRepoPromise property from media dialog" 2017-01-03 20:24:34 +00:00
ve.ui.MWMetaDialog.js Re-order all meta code to put categories first 2017-01-17 00:19:38 +00:00
ve.ui.MWMobileSaveDialog.js
ve.ui.MWRequiredParamBlankConfirmDialog.js
ve.ui.MWSaveDialog.js Merge "Give focus to preview panel for keyboard scrolling" 2017-01-03 17:58:32 +00:00
ve.ui.MWTableDialog.js
ve.ui.MWTemplateDialog.js
ve.ui.MWTransclusionDialog.js
ve.ui.MWWikitextSwitchConfirmDialog.js