an xhtml compatibility bug, and a versioning bug fix
This commit is contained in:
parent
f2d06c2b76
commit
17c8275c78
4 changed files with 8 additions and 13 deletions
|
|
@ -268,7 +268,7 @@ sub www_manageRevisions {
|
|||
while (my ($date,$by,$tag,$tagId) = $sth->array) {
|
||||
$output .= '<tr><td>'
|
||||
.$self->session->icon->delete("func=purgeRevision;revisionDate=".$date,$self->get("url"),$i18n->get("purge revision prompt"))
|
||||
.$self->session->icon->view("func=viewRevision;revisionDate=".$date)
|
||||
.$self->session->icon->view("func=view;revision=".$date)
|
||||
.'</td>
|
||||
<td>'.$self->session->datetime->epochToHuman($date).'</td>
|
||||
<td>'.$by.'</td>
|
||||
|
|
@ -296,14 +296,5 @@ sub www_purgeRevision {
|
|||
return $self->www_manageRevisions;
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
sub www_viewRevision {
|
||||
my $self = shift;
|
||||
my $otherSelf = WebGUI::Asset->new($self->session,$self->getId,$self->get("className"),$self->session->form->process("revisionDate"));
|
||||
return (defined $otherSelf) ? $otherSelf->www_view : undef;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue