[fusion-users] IE7 object expected errors.
Paul Spencer
pspencer at dmsolutions.ca
Thu Aug 7 10:24:42 EDT 2008
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