mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
1b7fa1cf74
initialize() is currently called synchronously, but once the CSS transplantation code is fixed and it goes back to being async, that'll cause problems. * Add this.setupDeferred and use it to defer setupCheckboxes() until after initialization * Move code populating the edit summary from ViewPageTarget into MWSaveDialog and use .setValue() rather than manipulating the TextInputWidget's DOM. Defer this until after init as well * Move clearing of the diff from ViewPageTarget into MWSaveDialog, and don't connect it to the transact event at startup, only when we've actually shown a diff * Remove swapPanel( 'save' ) from ViewPageTarget, instead do this on setup in the dialog itself Bonus: * Document events * Get rid of onFooButtonClick handlers in favor of array syntax Change-Id: Idcdae5e013340f4519db4387bab507e714d47941 |
||
---|---|---|
.. | ||
ve.ui.MWBetaWelcomeDialog.js | ||
ve.ui.MWMediaEditDialog.js | ||
ve.ui.MWMediaInsertDialog.js | ||
ve.ui.MWMetaDialog.js | ||
ve.ui.MWReferenceDialog.js | ||
ve.ui.MWReferenceListDialog.js | ||
ve.ui.MWSaveDialog.js | ||
ve.ui.MWTransclusionDialog.js |