Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 713
  • Last Modified:

Close popup after agent finishes running

Notes app for the Web. An action opens a new browser window (popup style), the user selects an option by clicking a link. The link calls a Javascript function that gets the window.opener to run an agent and then runs another agent itself. I would like the newly opened popup window to close once its agent has finished running.

If I do self.close() at the end of the Javascript Function, the agent will not run. I've tried putting
Print "[javascript:window.close();]"
at the end of my agent too, no go.

Does this make sense, any ideas?
  • 2
1 Solution
Sjef BosmanGroupware ConsultantCommented:
Maybe you need to add, to the body-tage:

Other way: use a hidden Iframe to run the agents.
Sam654Author Commented:
Wow, wasn't expecting that to be such a tough question. Good work arounds, thanks.
Sjef BosmanGroupware ConsultantCommented:
You're welcome :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now