function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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