Remove the javascript check for email addresses.

This commit is contained in:
Colin Kuskie 2010-05-24 11:29:41 -07:00
parent 5075e4f503
commit c6682323f6
3 changed files with 4 additions and 171 deletions

View file

@ -99,20 +99,4 @@ sub isDynamicCompatible {
return 1;
}
#-------------------------------------------------------------------
=head2 toHtml ( )
Renders an email address field.
=cut
sub toHtml {
my $self = shift;
$self->session->style->setScript($self->session->url->extras('emailCheck.js'),{ type=>'text/javascript' });
$self->{_params}{extras} .= ' onchange="emailCheck(this.value)" ';
return $self->SUPER::toHtml;
}
1;