mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Merge "Follow-up fd2ef3e
: Call prototype., not ve.init.mw.Target#onSerialize"
This commit is contained in:
commit
5a5ec053b6
|
@ -1259,8 +1259,8 @@ ve.init.mw.Target.prototype.serialize = function ( doc, callback ) {
|
|||
page: this.pageName,
|
||||
oldid: this.revid
|
||||
}, 'serialize' )
|
||||
.done( ve.init.mw.Target.onSerialize.bind( this ) )
|
||||
.fail( ve.init.mw.Target.onSerializeError.bind( this ) );
|
||||
.done( ve.init.mw.Target.prototype.onSerialize.bind( this ) )
|
||||
.fail( ve.init.mw.Target.prototype.onSerializeError.bind( this ) );
|
||||
return true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue