dojo.connect event object not working in IE7

Discussion created by briangoad on Apr 18, 2012
Latest reply on Apr 18, 2012 by DSwingley-esristaff
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(,"onClick", function(evt) {

if(evt.graphic.symbol.type == "textsymbol")
   // do something
   // do something else

Should this work in IE7?