Skip to content

Commit

Permalink
Remove the javascript check for email addresses.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed May 24, 2010
1 parent 7e53401 commit 1dd12c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 171 deletions.
4 changes: 4 additions & 0 deletions docs/gotcha.txt
Expand Up @@ -7,6 +7,10 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.

7.8.20
--------------------------------------------------------------------
* The javascript check for email addresses has been removed.

7.8.18
--------------------------------------------------------------------
* Starting with version 7.8.0, WebGUI has been using YUI 2.8.0r4. This was noted in
Expand Down
16 changes: 0 additions & 16 deletions lib/WebGUI/Form/Email.pm
Expand Up @@ -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;

155 changes: 0 additions & 155 deletions www/extras/emailCheck.js

This file was deleted.

0 comments on commit 1dd12c6

Please sign in to comment.