[dev] Re: Concerning Trean Javascript error:
Joe Jenkins
joe at nerdnet.com
Thu Nov 6 09:51:25 PST 2003
Jason,
Thanks for the info... I checked my arg_separator and its plain ol' & (php
default) I'll continue to poke a fork at this code and see if I find where
exactly its screwin up :)
Joe Jenkins
"Jason Rust" <jrust at rustyparts.com> wrote in message
news:20031106174023.GB11471 at rustyparts.com...
> > In Trean, however, the Categories side of the Browse window is blank and
I
> > get the following Javascript error (in IE 6, Windows XP Pro)
> >
> > Line: 293
> > Char: 1
> > Error: 'Horde_Tree' is undefined
> > Code: 0
> > URL: http://www.MYSITE.com/horde/trean/browse.php?category=11
>
> We had this problem and it turned out to be our arg_separator setting.
> We had set it to & to try and be more standards compliant. However,
> Horde::url() runs the url through htmlentities. This turns urls that
> were:
> /horde/index.php?foo=bar&sessid=abc
> into:
> /horde/index.php?foo=bar&amp;sessid=abc
> That causes the <script> tags to not pass the correct arguments to
> javascript.php so Horde_Tree never gets loaded.
>
> The simple solution would be to remove the htmlentities() call, but I'm
> not sure why it was put there in the first place.
>
> -Jason
>
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
More information about the dev
mailing list