mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +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,
|
page: this.pageName,
|
||||||
oldid: this.revid
|
oldid: this.revid
|
||||||
}, 'serialize' )
|
}, 'serialize' )
|
||||||
.done( ve.init.mw.Target.onSerialize.bind( this ) )
|
.done( ve.init.mw.Target.prototype.onSerialize.bind( this ) )
|
||||||
.fail( ve.init.mw.Target.onSerializeError.bind( this ) );
|
.fail( ve.init.mw.Target.prototype.onSerializeError.bind( this ) );
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue