Question

5
Replies
784
Views
Close popover
Chakravorty Amit (AMITTUTUN)
JKTechnosoft

JKTechnosoft
IN
AMITTUTUN Member since 2011 62 posts
JKTechnosoft
Posted: July 10, 2017
Last activity: August 25, 2017
Closed

Close button not working

I have a close tab button and I need to run an activity or data transform when user click on close button. Now there is a requirement that when user click on close the application need to show a confirm message whether user really want to close the tab or not and select "Ok" and "Cancel". I used run script in the action tab as a first action and called that js function where message is displayed. But the problem is the server is not waiting for the return of js function; it just shows the message and automatically close the work object running the subsequent data transform and activity. How will I hold this close action and prevent it from submission onclick of Cancel.

Note: javascript is returning false when user click on Cancel still we cannot prevent it from closing the work object.

***Updated by moderator: Lochan to update Categories***

User Experience
Moderation Team has archived post