fixed a bunch of bugs

This commit is contained in:
JT Smith 2005-03-09 14:46:40 +00:00
parent 914f29b169
commit d894e39e11
7 changed files with 33 additions and 12 deletions

View file

@ -1561,7 +1561,8 @@ sub submit {
my $value = $params->{value} || $params->{defaultValue} || WebGUI::International::get(62);
$value = _fixQuotes($value);
my $wait = WebGUI::International::get(452);
return '<input type="submit" value="'.$value.'" onClick="this.value=\''.$wait.'\'" '.$params->{extras}.' />';
my $extras = $params->{extras} || 'onclick="this.value=\''.$wait.'\'"';
return '<input type="submit" value="'.$value.'" '.$params->{extras}.' />';
}