[dokuwiki] Re: [PATCH] some bug fixes

  • From: Matthias Grimm <matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 11 Nov 2005 21:52:56 +0100

On Fri, 11 Nov 2005 20:18:03 +0100
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

> On Fri, 11 Nov 2005 18:26:58 +0100
> Matthias Grimm <matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > 
> > Hi,
> > 
> > one day I get grey hair from hunting down this silly bugs :-)
> > 
> > 1. A bug in javascript code prevent the toolbar to do anything in
> >    IE, except to generate javascript errors.
> 
> I notice you replaced the '===' comparison with '=='.  I added these
> after checking the scripts with jslint.com - I think I had no problems
> with IE but when you say it doesn't work we should check all scripts
> again (there are multiple occurances of it).

We checked on two different machines with IE and firefox. Firefox worked
but the toolbar on IE definitely didn't insert anything. It produced a
javascript error instead ("opener doesn't exist" or similar).

We found that the comparison (opener === null) lead to the wrong tree.
After changing "===" to "==" it worked.

SelfHTML said that '===' is only supported in JavaScript 1.2 and
higher. It seems that IE6 does not support this or the data types were
not equal.

  Best Regards
    Matthias




 
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: