[fusion-users] IE7 object expected errors.

Tómas Guðmundsson tomas at snertill.is
Thu Aug 7 10:43:18 EDT 2008


All.

My Google skills are fail. I should've looked through old logs in the fusion-users lists.

I think this has been discussed before, again by me. Forgetful programmars are faulty programmers :) 

Thanks guys again. I will let you know though if still doesn't work.

Regards,
Tómas

-----Original Message-----
From: Paul Spencer [mailto:pspencer at dmsolutions.ca] 
Sent: 7. ágúst 2008 14:25
To: Tómas Guðmundsson
Cc: fusion-users at lists.osgeo.org
Subject: Re: [fusion-users] IE7 object expected errors.

I would venture to guess that you have an extraneous comma in your  
widget class after the last method.  A handy tool for finding this  
kind of error is jslint (http://www.jslint.com/), I have it  
incorporated into my text editor (TextMate) to check javascript files  
when I save them and report errors and warnings - very handy.

Cheers

Paul

On 7-Aug-08, at 9:41 AM, Tómas Guðmundsson wrote:

> Hi all,
>
> As you all can see it is definitely debugging time in Iceland-land.  
> We here at Snertill have our own layer manager we use
> to filter out other filters we don't want to query against. However,  
> while it is working perfectly in Firefox (yes here we
> go again), it does not work in Internet Explorer. It gives as usual  
> vague explanations like "Object expected" or and
> "Error: Expected identifier, string or number". Whilst debugging  
> javascript with Visual Studio J I found out it stoppes on
> "this.layerMngr = new Fusion.Tool.SneLayerManager()" - so somehow  
> this is causing problems in IE but not in Firefox.
>
> Has anyone encountered this before with new-ing some other classes  
> or creating objects of some javascript objects.
>
> Maybe the term "Class" is not the same kind in general programming  
> language like Java or C++ that I have yet to figure out
> but if you guys could shed some light that would be great.
>
> Regards,
> Tómas.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://www.dmsolutions.ca/



More information about the fusion-users mailing list