Skip to content
Permalink
Browse files

tweaked the birthday formatting;

  • Loading branch information...
caseysoftware committed Apr 6, 2014
1 parent a082db1 commit db20a6ffcd8625b76c058588b9ee2bcb56a2a96a
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/contacts/addedit.php
@@ -94,7 +94,7 @@ function submitIt() {
} else if (form.contact_first_name.value.length < 1) {
alert( '<?php echo $AppUI->_('contactsValidName', UI_OUTPUT_JS); ?>' );
form.contact_first_name.focus();
} else if (form.contact_birthday.value.length > 0) {
} else if (form.contact_birthday.value.length > 1) {
dar = form.contact_birthday.value.split("-");
if (dar.length < 3) {
alert("<?php echo $AppUI->_('adminInvalidBirthday', UI_OUTPUT_JS); ?>");

0 comments on commit db20a6f

Please sign in to comment.
You can’t perform that action at this time.