mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw 7cdaa2a290 Fix JS error trying to access this.saveDialog from switch to source mode code path
The switch to source mode code path was causing onSerializeComplete to
be called, which accesses this.saveDialog because it assumes it's being
called from onSaveDialogReview.

In fact, onSaveDialogReview was calling it twice, once as the callback
it passes to serialize() and once in response to the serializeComplete
event. Cleaned this up by renaming the function and removing the
event binding, so it's now only called once and only for reviewing
changes to new pages, not in the switch to source mode code path.

Bug: 62544
Change-Id: I86eea57806a20408c8dc89a234c39cae1d969bca
2014-03-12 12:05:02 -07:00
..
ce Show/hide the magnify button on type change 2014-03-10 21:06:18 +00:00
dm Enforce width-only default size only on larger images 2014-03-10 19:05:14 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-03-11 20:47:59 +00:00
init Fix JS error trying to access this.saveDialog from switch to source mode code path 2014-03-12 12:05:02 -07:00
test [Browser tests] Remove dumb stuff from steps. 2014-03-12 17:30:01 +00:00
ui Deal with images whose size is smalled than default 2014-03-12 18:07:38 +00:00