saikishore

Disable all event listeners

Discussion created by saikishore on Mar 15, 2013
Latest reply on Mar 15, 2013 by jeff.pace
Hi, I have a listner for event "onclick". Implementation of that listner zooms map to a certain point and renders graphics on it. No again on click of that zoomed in graphics,i want an other onclick event lisetner. Since the existing onclick event listner is already active, it zooms in again. I want to disconnect the existing onclick lisetner and have a new listener inside it. dojo.discoonect(abc)  is not working, since the abc is nt accessible due to out of scope. Is there any common thing which disconnects all event listeners?

Outcomes