Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <aui:script>
  2. Liferay.provide(window,'<portlet:namespace/>closeYourPopUp',
  3. function(data, dialogId) {
  4. <!-- alert("second"); -->
  5. var A = AUI();
  6. var dialog = Liferay.Util.Window.getById(dialogId);
  7. dialog.destroy();
  8. },
  9. ['liferay-util-window']
  10. );
  11. </aui:script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement