Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed Feb 11, 2015
2 parents 8ea8e6d + d9b8523 commit 0ec8116
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/userfrosting.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ function validateFormFields(dialog_id) {
// Skip blank, optional fields
if (!(validationData.optional && val == "")) {
if (validationData.minLength && validationData.maxLength) {
console.log("validating for length " + val.length);
if (val.length < validationData.minLength || val.length > validationData.maxLength) {
errorMessages.push("'" + label + "' must be between " + validationData.minLength + " and " + validationData.maxLength + " characters long.");
fieldErrors += 1;
Expand Down

0 comments on commit 0ec8116

Please sign in to comment.