Refactor validations

This commit is contained in:
Bryan Housel
2015-06-19 14:58:09 -04:00
parent ca47d2662d
commit 60fdb60a8a
11 changed files with 118 additions and 57 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ iD.ui.Commit = function(context) {
// Warnings
var warnings = body.selectAll('div.warning-section')
.data([iD.validate(changes, context.graph())])
.data([context.history().validate(changes)])
.enter()
.append('div')
.attr('class', 'modal-section warning-section fillL2')