fix for keyword control only initially showing a single keyword
This commit is contained in:
parent
577f1aad32
commit
ff9d14b17c
5 changed files with 5 additions and 5 deletions
|
|
@ -137,7 +137,7 @@ sub toHtml {
|
||||||
my $output = "";
|
my $output = "";
|
||||||
|
|
||||||
# Do our superclass's job
|
# Do our superclass's job
|
||||||
my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters($self->getOriginalValue)));
|
my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters(scalar $self->getOriginalValue)));
|
||||||
my $width = $self->get('width') || 400;
|
my $width = $self->get('width') || 400;
|
||||||
my $height = $self->get('height') || 150;
|
my $height = $self->get('height') || 150;
|
||||||
my ($style, $url) = $self->session->quick(qw(style url));
|
my ($style, $url) = $self->session->quick(qw(style url));
|
||||||
|
|
|
||||||
|
|
@ -689,7 +689,7 @@ Renders the form field to HTML as a hidden field rather than whatever field type
|
||||||
sub toHtmlAsHidden {
|
sub toHtmlAsHidden {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return '<input type="hidden" name="'.$self->get("name").'" value="'.
|
return '<input type="hidden" name="'.$self->get("name").'" value="'.
|
||||||
$self->fixQuotes($self->fixMacros($self->fixSpecialCharacters($self->getOriginalValue()))).'" />'."\n";
|
$self->fixQuotes($self->fixMacros($self->fixSpecialCharacters(scalar $self->getOriginalValue()))).'" />'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ Renders the form field to HTML as a table row. The row is not displayed because
|
||||||
|
|
||||||
sub toHtmlWithWrapper {
|
sub toHtmlWithWrapper {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $value = $self->fixMacros($self->fixQuotes($self->fixSpecialCharacters($self->getOriginalValue))) || '';
|
my $value = $self->fixMacros($self->fixQuotes($self->fixSpecialCharacters(scalar $self->getOriginalValue))) || '';
|
||||||
if ($value) {
|
if ($value) {
|
||||||
my $manageButton = $self->session->icon->manage("op=editGroup;gid=".$value);
|
my $manageButton = $self->session->icon->manage("op=editGroup;gid=".$value);
|
||||||
$self->set("subtext",$manageButton . $self->get("subtext"));
|
$self->set("subtext",$manageButton . $self->get("subtext"));
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ Renders an input tag of type text.
|
||||||
|
|
||||||
sub toHtml {
|
sub toHtml {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $value = $self->fixMacros($self->fixQuotes($self->fixSpecialCharacters($self->getOriginalValue)));
|
my $value = $self->fixMacros($self->fixQuotes($self->fixSpecialCharacters(scalar $self->getOriginalValue)));
|
||||||
return '<input id="'.$self->get('id').'" type="text" name="'.$self->get("name").'" value="'.$value.'" size="'.$self->get("size").'" maxlength="'.$self->get("maxlength").'" '.$self->get("extras").' />';
|
return '<input id="'.$self->get('id').'" type="text" name="'.$self->get("name").'" value="'.$value.'" size="'.$self->get("size").'" maxlength="'.$self->get("maxlength").'" '.$self->get("extras").' />';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ Renders an input tag of type text.
|
||||||
|
|
||||||
sub toHtml {
|
sub toHtml {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters($self->getOriginalValue)));
|
my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters(scalar $self->getOriginalValue)));
|
||||||
my $width = $self->get('width') || 400;
|
my $width = $self->get('width') || 400;
|
||||||
my $height = $self->get('height') || 150;
|
my $height = $self->get('height') || 150;
|
||||||
my ($style, $url) = $self->session->quick(qw(style url));
|
my ($style, $url) = $self->session->quick(qw(style url));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue