mediawiki-extensions-Visual.../modules/ve/init
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
..
mw ViewPageTarget: Bind callback in onSerialize like in onShowChanges 2013-05-08 20:28:28 +02:00
sa Remove more periods 2013-03-20 22:55:50 +00:00
ve.init.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.init.Platform.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.init.Target.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00