mediawiki-extensions-Visual.../modules/ve
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
..
actions Configurable insertion annotations 2013-05-06 22:57:35 +00:00
ce Also render attributes of the form html/i-j/attrName in CE 2013-05-08 18:10:46 +00:00
dm Also render attributes of the form html/i-j/attrName in CE 2013-05-08 18:10:46 +00:00
init ViewPageTarget: Bind callback in onSerialize like in onShowChanges 2013-05-08 20:28:28 +02:00
styles Toolbar style fixes 2013-03-15 12:48:49 -07:00
test Merge "Preserve HTML attributes recursively" 2013-05-08 18:12:46 +00:00
ui Code style fixes 2013-05-06 12:36:52 +01:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.js Convert DOM elements to stringifiable objects for reporting 2013-05-08 14:42:43 +01:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.NamedClassFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.Node.js Move common Node/Annotation/MetaItem code into ve.dm.Model 2013-04-09 12:05:05 -07:00
ve.Range.js Clickable inline images 2013-04-08 17:58:46 -07:00
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Surface.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Code style fixes 2013-05-06 12:36:52 +01:00