From 961e71e57a472c1a04b7c42611eff340c271ec70 Mon Sep 17 00:00:00 2001 From: sb Date: Mon, 4 May 2009 13:53:18 +0000 Subject: [PATCH] bug 2899 : This came down to two issues; one, a (new) bug in the shuffle widget code prevented the client-side validation working on new records; second, the specification for an email address was incorrect (it didn't allow a period before the '@', e.g. 'mike.oreilly@sru.org.uk'. Fixed status 2899: resolved FIXED --- transforms/adl2views.xslt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/transforms/adl2views.xslt b/transforms/adl2views.xslt index dcb9e27..01a8d73 100755 --- a/transforms/adl2views.xslt +++ b/transforms/adl2views.xslt @@ -15,8 +15,8 @@ Transform ADL into velocity view templates $Author: sb $ - $Revision: 1.50 $ - $Date: 2009-05-04 11:00:05 $ + $Revision: 1.51 $ + $Date: 2009-05-04 13:53:18 $ --> @@ -1449,19 +1449,23 @@ function performInitialisation() { + #if ( $instance) + #if ( ! $instance.IsNew) - document...submitHandler = shuffleSubmitHandler; + - document...submitHandler = shuffleSubmitHandler; + + #end + #end var validator = new Validation('', {immediate : true, useTitles : true}); } @@ -1766,7 +1770,7 @@ Auto generated Velocity macro for , generated from ADL. - Generated using adl2views.xslt + Generated using adl2views.xslt Generation parameters were: area-name: default-url: