mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 12:16:51 +00:00
6467a5a0e4
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 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
styles | ||
test | ||
ui | ||
ve.Action.js | ||
ve.ActionFactory.js | ||
ve.BranchNode.js | ||
ve.CommandRegistry.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.NamedClassFactory.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.Registry.js | ||
ve.Surface.js | ||
ve.Trigger.js | ||
ve.TriggerRegistry.js |