Merge "Follow-up fd2ef3e: Call prototype., not ve.init.mw.Target#onSerialize"

This commit is contained in:
jenkins-bot 2015-08-03 22:57:06 +00:00 committed by Gerrit Code Review
commit 5a5ec053b6

View file

@ -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;
};