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 build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWCommandHelpDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWExtensionDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWExtensionPreviewDialog.js Update actions on live inspectors and preview dialogs 2017-01-21 18:29:18 +00:00
ve.ui.MWGalleryDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
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 build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWRequiredParamBlankConfirmDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
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 build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWTemplateDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWTransclusionDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWWikitextSwitchConfirmDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00