+ Start a Discussion
Chris VogeChris Voge 

problem w/ sforce.console.addEventListener(sforce.console.ConsoleEvent.CLOSE_TAB, refreshPrimarytab)

I have been using:
      sforce.console.addEventListener(sforce.console.ConsoleEvent.CLOSE_TAB, refreshPrimarytab);

The issue I see happening is, if I have 2 or more instances of the same page/tab open and I
close one of them. The refreshPrimarytab function is getting triggered in both/all instances.

I would expect it to only fire on the tab that was closed.

Any help would be appreciated. Thanks, Chris