Skip to content

Commit

Permalink
Merge pull request #1685 from jonathan-chin/master
Browse files Browse the repository at this point in the history
fixed logic error with ngf-ignore-invalid
  • Loading branch information
danialfarid authored Sep 6, 2016
2 parents a570277 + fe94d68 commit 77b3126
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/ng-file-upload-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1760,10 +1760,10 @@ ngFileUpload.service('UploadValidate', ['UploadDataUrl', '$q', '$timeout', funct
if (!runAllValidation) {
files.splice(i, 1);
}
valid = false;
} else {
files.splice(i, 1);
}
valid = false;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/ng-file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1338,10 +1338,10 @@ ngFileUpload.service('UploadValidate', ['UploadDataUrl', '$q', '$timeout', funct
if (!runAllValidation) {
files.splice(i, 1);
}
valid = false;
} else {
files.splice(i, 1);
}
valid = false;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ ngFileUpload.service('UploadValidate', ['UploadDataUrl', '$q', '$timeout', funct
if (!runAllValidation) {
files.splice(i, 1);
}
valid = false;
} else {
files.splice(i, 1);
}
valid = false;
}
}
}
Expand Down

0 comments on commit 77b3126

Please sign in to comment.