mediawiki-extensions-Visual.../modules/ve/init/mw
Timo Tijhof 6467a5a0e4 ViewPageTarget: Bind callback in onSerialize like in onShowChanges
init.mw.Target#serialize is an odd one because it is the only
target method that has a callback parameter (instead of
emitting the event on Target and having ViewPageTarget get
the event through that).

This line from onShowChanges needed to be added to onSerialize

  // Invalidate the viewer wikitext on next change
  this.surface.getModel().connect( this, { 'transact': 'onSurfaceModelTransact' } );

Though onSerialize is currently bound manually from the
serialize callback, it should be refactored to be like the others.

Bug: 44446
Change-Id: I9eddebbdf9294ee3d46286bdf1b157e00252d300
2013-05-08 20:28:28 +02:00
..
styles Remove 1px left margin from toolbar in Vector 2013-03-15 18:14:18 +00:00
targets ViewPageTarget: Bind callback in onSerialize like in onShowChanges 2013-05-08 20:28:28 +02:00
ve.init.mw.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.init.mw.Platform.js Remove all code related to change markers 2013-04-30 23:15:47 +01:00
ve.init.mw.Target.js Convert DOM elements to stringifiable objects for reporting 2013-05-08 14:42:43 +01:00