Merge "Remove last usage of ve.bind() in VE-MW"

This commit is contained in:
jenkins-bot 2014-11-10 20:55:02 +00:00 committed by Gerrit Code Review
commit a8f4a5f98f

View file

@ -1737,7 +1737,7 @@ ve.init.mw.ViewPageTarget.prototype.switchToWikitextEditor = function ( discardC
} else {
this.serialize(
this.docToSave || ve.dm.converter.getDomFromModel( this.surface.getModel().getDocument() ),
ve.bind( this.submitWithSaveFields, this, { wpDiff: 1, veswitched: 1 } )
this.submitWithSaveFields.bind( this, { wpDiff: 1, veswitched: 1 } )
);
}
};