mediawiki-extensions-Visual.../modules/ve-mw/init/targets
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
..
ve.init.mw.MobileViewTarget.js Merge "Abstract tracking and specify which target it came from" 2014-03-08 01:01:08 +00:00
ve.init.mw.ViewPageTarget.init.js Let users set #REDIRECT and __STATICREDIRECT__ status 2014-02-12 15:24:12 -08:00
ve.init.mw.ViewPageTarget.js Fix JS error trying to access this.saveDialog from switch to source mode code path 2014-03-12 12:05:02 -07:00