mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
dialogs Make save dialog ready for async initialization 2013-11-22 13:17:53 +00:00
inspectors Window refactor 2013-11-08 12:33:25 -08:00
styles Split oojs-ui from ve.ui 2013-10-28 22:40:08 -07:00
tools Window refactor 2013-11-08 12:33:25 -08:00
widgets Rename this.$ to this.$element, and this.$$ to this.$ 2013-11-03 23:03:49 -08:00
ve.ui.MWDialog.js Window refactor 2013-11-08 12:33:25 -08:00