kytan5 Posted October 1, 2016 Report Share Posted October 1, 2016 I use the below code in my caspio datapage under emails & destination as suggested by in the forum. It was working like a charm but suddenly now it does not work anymore. anyone can help with new code or why it is not working? <script> window.close(); window.onunload = function(){ window.opener.location.reload();} </script> Quote Link to comment Share on other sites More sharing options...
Robert Posted October 7, 2016 Report Share Posted October 7, 2016 I need help with this too. The tutorial code (below) also doesn't work. http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/add-an-option-to-a-public-facing-dropdown/ <script> window.close(); if (window.opener && !window.opener.closed) { window.opener.location.reload(); } </script> Quote Link to comment Share on other sites More sharing options...
georgep Posted November 1, 2016 Report Share Posted November 1, 2016 I have the same problem. Was working and now doesnt. Big issue for us. Love someone to come up with a suggested fix? Quote Link to comment Share on other sites More sharing options...
MayMusic Posted November 3, 2016 Report Share Posted November 3, 2016 You need to make sure both pop up and parent page are deployed on the same domain. Is it the case? Quote Link to comment Share on other sites More sharing options...
georgep Posted November 3, 2016 Report Share Posted November 3, 2016 Yes - however I have picked up that issue appears related to Chrome version 54. The popups still work on Safari etc. As I understand it Chrome will simply no longer enable refresh of a parent window from a popup. Its real shame as was quite a nice way of working. What I have done is have parent open a new URL on top i.e replace it with what would have been the popup window and once the "popup" (i.e new URL page) has had its info added it would then return to the original parent URL and thus provide a refresh. It works in all browsers I have tried but not quite as slick as using the popup. If however you have a method that woudl work please do adviser :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.