Skip to content

Instantly share code, notes, and snippets.

@evaldeslacasa
Created February 11, 2015 16:41
Show Gist options
  • Save evaldeslacasa/183440a9333b6e1d2e14 to your computer and use it in GitHub Desktop.
Save evaldeslacasa/183440a9333b6e1d2e14 to your computer and use it in GitHub Desktop.
Script in pop up to close pop up and refresh the page in Liferay
<script type="text/javascript">
AUI().ready(function(A) {
window.top.location.href = window.top.location;
});
</script>
@evaldeslacasa
Copy link
Author

It would be interesting to add it under a liferay-ui:success (or error) message in a single JSP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment