diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 3e1edb7da..70610a9ae 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,9 @@ 7.3.1 + - 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. + 7.3.0 - NOTICE: The Template Managers group is deprecated. It has not been removed diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index aa775fbb0..64b23c052 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -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}; } diff --git a/lib/WebGUI/Form/Textarea.pm b/lib/WebGUI/Form/Textarea.pm index 528ed313d..89e4ed148 100644 --- a/lib/WebGUI/Form/Textarea.pm +++ b/lib/WebGUI/Form/Textarea.pm @@ -124,8 +124,10 @@ sub toHtml { $style->setLink($url->extras("yui-ext/resources/css/resizable.css"), {type=>"text/css", rel=>"stylesheet"}); $out .= qq| |; }