mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
Pass entity array into validators instead of changes object
This commit is contained in:
@@ -40,7 +40,8 @@ export function IssueManager(context) {
|
||||
|
||||
self.validate = function() {
|
||||
var changes = context.history().changes();
|
||||
issues = context.history().validate(changes);
|
||||
var entitiesToCheck = changes.created.concat(changes.modified);
|
||||
issues = context.history().validate(entitiesToCheck);
|
||||
dispatch.call('reload', self, issues);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user