- 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
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,8 +124,10 @@ sub toHtml {
|
|||
$style->setLink($url->extras("yui-ext/resources/css/resizable.css"), {type=>"text/css", rel=>"stylesheet"});
|
||||
$out .= qq|
|
||||
<script type="text/javascript">
|
||||
var draggable_textarea = document.getElementById('|.$self->get('id').qq|_wrapper');
|
||||
window.setTimeout("draggable_textarea.resize = new YAHOO.ext.Resizable(draggable_textarea, {resizeChild: true, minWidth:300, minHeight:150, disableTrackOver:true, multiDirectional: false})",1);
|
||||
YAHOO.util.Event.addListener(window, 'load', function () {
|
||||
var draggable_textarea = document.getElementById('|.$self->get('id').qq|_wrapper');
|
||||
draggable_textarea.resize = new YAHOO.ext.Resizable(draggable_textarea, {resizeChild: true, minWidth:300, minHeight:150, disableTrackOver:true, multiDirectional: false});
|
||||
});
|
||||
</script>
|
||||
|;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue