mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-21 02:22:51 +00:00
EditCheck: Only show add-reference in before save workflow (for now)
Change-Id: I6131af12fe4e9a85d9beaf4ca25cea1802461d26
This commit is contained in:
parent
a26c145574
commit
79adf3f934
|
@ -25,7 +25,8 @@ mw.editcheck.AddReferenceEditCheck.prototype.onBeforeSave = function ( surfaceMo
|
|||
} )
|
||||
);
|
||||
};
|
||||
mw.editcheck.AddReferenceEditCheck.prototype.onDocumentChange = mw.editcheck.AddReferenceEditCheck.prototype.onBeforeSave;
|
||||
// Only show these before save (for now)
|
||||
// mw.editcheck.AddReferenceEditCheck.prototype.onDocumentChange = mw.editcheck.AddReferenceEditCheck.prototype.onBeforeSave;
|
||||
|
||||
/**
|
||||
* Find content ranges which have been inserted
|
||||
|
|
Loading…
Reference in a new issue