From 23f604757b3477b28242bfaa7dccef4bc9f3f521 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 23 Oct 2014 09:50:38 -0400 Subject: [PATCH] Bug 5685 [OPAC follow-up] Validation of email address field This patch makes a few changes to the way errors are handled in the OPAC: - The validation plugin has been moved from the global include file to the template itself. Since we aren't doing form validation on any other page yet it doesn't make sense to include it globally at this time. - The error message which appears if you have JavaScript disabled and have submitted invalid emails was styled in a non-standard way. - I have added in-page links to the error message which appears if you have JavaScript disabled so that you can click to jump to the field which contains the error. - I have modified the error message language slightly to make it (I hope) read better. --- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 1 - koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 11 ++++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index cd4c3f4..a79e84e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -77,7 +77,6 @@ -