Changed email type to check onChange rather than onBlur

Changed SQL Report to fix a pagination bug.
This commit is contained in:
JT Smith 2002-09-28 03:39:52 +00:00
parent ab20fd1cef
commit dddb2ef345
2 changed files with 3 additions and 3 deletions

View file

@ -417,7 +417,7 @@ sub email {
$size = shift || $session{setting}{textBoxSize} || 30;
$output = '<script language="javascript" src="'.$session{config}{extras}.'/emailCheck.js"></script>';
$output .= '<input type="text" name="'.$name.'" value="'.$value.'" size="'.
$size.'" maxlength="'.$maxLength.'" onBlur="emailCheck(this.value)" '.$extras.'>';
$size.'" maxlength="'.$maxLength.'" onChange="emailCheck(this.value)" '.$extras.'>';
$output .= _subtext($subtext);
$output = _tableFormRow($label,$output) unless ($class->{_noTable});
$class->{_data} .= $output;

View file

@ -180,9 +180,9 @@ sub www_view {
$output .= $template[2];
$output .= WebGUI::International::get(18,$namespace).'<p>';
} else {
$url = WebGUI::URL::page();
$url = WebGUI::URL::page('&wid='.$_[0]->get("wobjectId").'&func=view');
foreach (keys %{$session{form}}) {
unless ($_ eq "pn") {
unless ($_ eq "pn" || $_ eq "wid" || $_ eq "func") {
$url = WebGUI::URL::append($url, WebGUI::URL::escape($_)
.'='.WebGUI::URL::escape($session{form}{$_}));
}