mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions MWSaveDialogAction: Don't break on strange accesskey messages 2017-01-03 11:37:09 -08:00
commands build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
contextitems build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
datatransferhandlers build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
dialogs Update actions on live inspectors and preview dialogs 2017-01-21 18:29:18 +00:00
elements build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
inspectors Update actions on live inspectors and preview dialogs 2017-01-21 18:29:18 +00:00
pages Add "templates used" page to meta dialog 2017-01-04 18:30:11 +01:00
styles Update VE core submodule to master (f0dcedb) 2017-01-20 14:35:39 -08:00
themes build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
tools Add "templates used" page to meta dialog 2017-01-04 18:30:11 +01:00
widgets Allow AceEditorWidget to accept autocomplete word list 2017-01-11 17:26:16 -08:00
ve.ui.MWCommandRegistry.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWExtensionWindow.js Update actions on live inspectors and preview dialogs 2017-01-21 18:29:18 +00:00
ve.ui.MWSequenceRegistry.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWWikitextCommandRegistry.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWWikitextDataTransferHandlerFactory.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWWikitextSequenceRegistry.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ui.MWWikitextSurface.js Update VE core submodule to master (f0dcedb) 2017-01-20 14:35:39 -08:00
ve.ui.MWWikitextTransferRegistry.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00