mediawiki-extensions-Visual.../modules/ve-mw/init
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
..
styles Deal with 'none'/'border' and default size in media edit 2014-03-05 03:53:46 +00:00
targets Fix JS error trying to access this.saveDialog from switch to source mode code path 2014-03-12 12:05:02 -07:00
ve.init.mw.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.init.mw.Platform.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.init.mw.Target.js Abstract tracking and specify which target it came from 2014-03-06 09:50:11 -08:00
ve.init.mw.TargetEvents.js Abstract tracking and specify which target it came from 2014-03-06 09:50:11 -08:00