forward port subscription group display fix
This commit is contained in:
parent
146fe3fecd
commit
f9945a4e61
2 changed files with 20 additions and 3 deletions
|
|
@ -49,6 +49,7 @@
|
||||||
- fixed #4191: Using 3 consecutive tildes in a Post title makes a bad URL/Pos
|
- fixed #4191: Using 3 consecutive tildes in a Post title makes a bad URL/Pos
|
||||||
- fixed #8927: Collaboration System: Thread approval workflow setting ignore
|
- fixed #8927: Collaboration System: Thread approval workflow setting ignore
|
||||||
- fixed #8827: Slider JS bug for non-numeric values (Patrick Donelan, SDH Consulting)
|
- fixed #8827: Slider JS bug for non-numeric values (Patrick Donelan, SDH Consulting)
|
||||||
|
- fixed #8925: Collaboration System: Label missing
|
||||||
|
|
||||||
7.6.3
|
7.6.3
|
||||||
- improved performance of file uploads
|
- improved performance of file uploads
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,19 @@ sub isDynamicCompatible {
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 toHtml ( )
|
||||||
|
|
||||||
|
A synonym for toHtmlAsHidden.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub toHtml {
|
||||||
|
my $self = shift;
|
||||||
|
$self->toHtmlAsHidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#----------------------------------------------------------------
|
||||||
|
|
||||||
=head2 toHtmlWithWrapper ( )
|
=head2 toHtmlWithWrapper ( )
|
||||||
|
|
||||||
Renders the form field to HTML as a table row. The row is not displayed because there is nothing to display, but it may not be left away because <input> may not be a child of <table> according to the XHTML standard.
|
Renders the form field to HTML as a table row. The row is not displayed because there is nothing to display, but it may not be left away because <input> may not be a child of <table> according to the XHTML standard.
|
||||||
|
|
@ -73,11 +86,14 @@ 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($self->getOriginalValue))) || '';
|
||||||
my $manageButton = " ";
|
|
||||||
if ($value) {
|
if ($value) {
|
||||||
$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"));
|
||||||
|
return $self->SUPER::toHtmlWithWrapper;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return $self->toHtmlAsHidden;
|
||||||
}
|
}
|
||||||
return $manageButton . $self->toHtmlAsHidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue