lots o' fixes.

This commit is contained in:
Matthew Wilson 2006-01-15 04:25:33 +00:00
parent adce5c8094
commit 250d8ff944
16 changed files with 64 additions and 53 deletions

View file

@ -69,7 +69,7 @@ sub toHtml {
my $self = shift;
my $value = $self->fixQuotes($self->get("value"));
my $i18n = WebGUI::International->new($self->session);
$self->get("extras") ||= 'onclick="this.value=\''.$i18n->get(452).'\'"';
$self->{_params}{extras}; ||= 'onclick="this.value=\''.$i18n->get(452).'\'"';
my $html = '<input type="submit" ';
$html .= 'name="'.$self->get("name").'" ' if ($self->get("name"));
$html .= 'id="'.$self->{id}.'" ' unless ($self->{id} eq "_formId");