Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689986000/6a112eda-6a2c-42b9-b5e8-212f72e0eb20.png?itok=mJpsr7qo)
April Technologie
FR
Last activity: 16 Feb 2021 3:10 EST
How to execute javascript when a user close a tab in PEGA
Hi,
I've just upgraded from PEGA v7.1.8 to v8.4.3 and I have a problem to keep my customization when a user close a tab on pega when he clics on the cross icon.
We use Customer Service for Insurance
In PEGA v7.1.8, I customized the section CPMPortalRecent and I added "run a script" on the icon used to close a tab. No problem
In PEGA v8.4.1, this section is not used and PEGA manage directly the tabs on the section CPMInteractionPortalWorkArea and It's impossible to find a section including the icon used to close the tabs. The section is not customizable.
How can I add "run a script" when a user close a tab ? Have you any idea ?
Regards,