- Fixed a problem with IE and resizable text areas that caused IE to crash
when loading edit screens. - Fixed a problem with the new autocommit code that caused reply posts not to work in the collaboration system.
This commit is contained in:
parent
dd5b0d9fe9
commit
fe302de9d0
3 changed files with 18 additions and 3 deletions
|
|
@ -534,7 +534,15 @@ Returns the Thread that this Post belongs to. The method caches the result of t
|
|||
sub getThread {
|
||||
my $self = shift;
|
||||
unless (defined $self->{_thread}) {
|
||||
$self->{_thread} = WebGUI::Asset::Post::Thread->new($self->session, $self->get("threadId"));
|
||||
my $threadId = $self->get("threadId");
|
||||
if ($threadId eq "") { # new post
|
||||
if ($self->getParent->get("className") eq "WebGUI::Asset::Wobject::Collaboration") {
|
||||
$threadId=$self->getId;
|
||||
} else {
|
||||
$threadId=$self->getParent->get("threadId");
|
||||
}
|
||||
}
|
||||
$self->{_thread} = WebGUI::Asset::Post::Thread->new($self->session, $threadId);
|
||||
}
|
||||
return $self->{_thread};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue