videomail-client 5.3.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -569,12 +569,10 @@ const Container = function (options) {
|
|
|
569
569
|
invalidInput.value +
|
|
570
570
|
'"'
|
|
571
571
|
} else {
|
|
572
|
-
whyInvalid = 'Form input(s
|
|
572
|
+
whyInvalid = 'Form input(s) are invalid'
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
-
// TODO CONTINUE FROM HERE, MAKE VALIDATION CLEVER WHEN AUTOMATIC SO THAT IT REQUIRES AT
|
|
577
|
-
// LEAST ONE RECIPIENT AMONG TO/CC/BCC
|
|
578
576
|
if (valid) {
|
|
579
577
|
// If CC and/or BCC exist, validate one more time to ensure at least
|
|
580
578
|
// one recipient is given
|
|
@@ -619,8 +617,6 @@ const Container = function (options) {
|
|
|
619
617
|
if (!valid) {
|
|
620
618
|
whyInvalid = 'Please enter at least one recipient.'
|
|
621
619
|
}
|
|
622
|
-
|
|
623
|
-
console.log({ recipients })
|
|
624
620
|
}
|
|
625
621
|
} else {
|
|
626
622
|
valid = visualsValid
|