mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
Reorganize validation code
Rename IssueManager to coreValidator Rename disconnected highway to disconnected way Rename highway almost junction to almost junction Rename mapcss checks to maprules Rename deprecated tags to deprecated tag
This commit is contained in:
@@ -334,7 +334,7 @@ export function uiCommit(context) {
|
||||
|
||||
|
||||
function getUploadBlockerMessage() {
|
||||
var errorCount = context.issueManager().getErrors().length;
|
||||
var errorCount = context.validator().getErrors().length;
|
||||
if (errorCount > 0) {
|
||||
return t('commit.outstanding_errors_message', { count: errorCount });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user