I have used my custom pop up to add & edit events on calendar portlet & its working fine but the issue is :
When you are creating an event and you try and add an Asset to the event (Related assets) the pop-up window for that opens behind the current pop-up.
Its should ideally open in front of the current pop-up.
My code to open a custom pop up is as below:
Liferay.provide(
window,
'<portlet:namespace />openCustomPopUp',
function(url, popUpID) {
var A = AUI();
popupDialog = new A.Dialog(
{
id: popUpID,
centered: true,
draggable: true,
resizable: true,
width: 800,
stack: true
}
).plug(
A.Plugin.DialogIframe,
{
uri: url,
iframeCssClass: 'dialog-iframe'
}
);
popupDialog.render();
},
['aui-dialog','aui-dialog-iframe']
);
Please help me with this issue, its very urgent.
Thanks
Por favor, faça login para denunciar.