mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Merge "Remove last usage of ve.bind() in VE-MW"
This commit is contained in:
commit
a8f4a5f98f
|
@ -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 } )
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue