Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it.
This commit is contained in:
parent
808f38b2a6
commit
3fbc109429
53 changed files with 254 additions and 352 deletions
|
|
@ -109,7 +109,7 @@ Renders an email address field.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
$self->session->style->setScript($self->session->url->extras('emailCheck.js'),{ type=>'text/javascript' });
|
||||
$self->session->style->setScript($self->session->url->extras('emailCheck.js'));
|
||||
$self->{_params}{extras} .= ' onchange="emailCheck(this.value)" ';
|
||||
return $self->SUPER::toHtml;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue