mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw 1b7fa1cf74 Make save dialog ready for async initialization
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
2013-11-22 13:17:53 +00:00
..
ce ce.MWTransclusionNode: Don't pass token to parsefragment API 2013-11-11 20:33:26 +01:00
dm Recompute auto-numbered reference listKeys when merging internalLists 2013-11-20 16:50:48 +05:30
init Make save dialog ready for async initialization 2013-11-22 13:17:53 +00:00
test Recompute auto-numbered reference listKeys when merging internalLists 2013-11-20 16:50:48 +05:30
ui Make save dialog ready for async initialization 2013-11-22 13:17:53 +00:00