custom title action button to save and close window

Tamar,

I’m sorry, I was assuming that the page you were launching from was a skuid page. If you can build your parent page in skuid (instead of just the ‘popup’ page), you’d have an easier time of it. And by easier, I mean less javascript. But if you want to leave your page as is, you’ll have to work around it.

In your current construct, probably the easiest way would be to just have your skuid page save button do the following:

  • save model(s)
  • redirect to url , open in current window. (back to your case feed page)

If you can set up your URL button on the standard SF page to open in the current window instead of a new window, you’re all set. Then you don’t have to worry about trying to open and close windows and refresh windows with javascript.