We have an application required to run on IE7 and we've encountered a problem with an event object passed into a function during a dojo.connect "onclick". evt.graphic.symbol.type is coming in as "not defined" in IE7, but works in Firefox. The code:
dojo.connect(this.map,"onClick", function(evt) {
if(evt.graphic.symbol.type == "textsymbol")
{
// do something
}
else
{
// do something else
}
});
Should this work in IE7?