[ic] HTMLarea broken after update from 5.2 to 5.4
Aaron Berg
ir.gath at gmail.com
Thu Apr 6 16:02:46 EDT 2006
On 4/6/06, Stefan Hornburg <racke at linuxia.de> wrote:
> On Thu, 6 Apr 2006 10:41:22 -0700
> "Aaron Berg" <ir.gath at gmail.com> wrote:
>
> > Hi,
> >
> > I have a site using an HTMLarea in the admin for updating articles.
> > This was working until we upgraded from 5.2 to IC 5.4. Now it works
> > only in Firefox, but not in IE. After some poking around I've found
> > that the onClick event is not being added to the HTMLarea.
> >
> > I've tried updating the field to append HTML to the textarea so I
> > could add a window.onload event, but for some reason any prepended or
> > appended HTML does not actually get added.
> >
> > Does anyone have any suggestions?
>
> The following patch for code/Widget/htmlarea.widget should take care of the problem:
>
> @@ -198,7 +198,7 @@
> $textra .= qq{ style="$opt->{text_style}"} if $opt->{text_style};
>
> my $wid = $pre_scr . $Tag->uc_attr_list({hash => {name => $pname,
> - height => $opt->{height}, width => $opt->{width}, mouse => $onmouse,
> + height => $opt->{height}, width => $opt->{width}, onmouse => $onmouse,
> value => $val}, body => $flavours{$flavour}->{area}}) . $post_scr;
>
> return $wid;
>
> Bye
> Racke
>
> --
> LinuXia Systems => http://www.linuxia.de/
> Expert Interchange Consulting and System Administration
> ICDEVGROUP => http://www.icdevgroup.org/
> Interchange Development Team
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
Thanks! That solved it for me.
More information about the interchange-users
mailing list