Foren
Pop up issue
Aarti Dholiya, geändert vor 11 Jahren.
Pop up issue
New Member Beiträge: 22 Beitrittsdatum: 08.02.12 Neueste Beiträge
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
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
amit doshi, geändert vor 11 Jahren.
RE: Pop up issue
Liferay Master Beiträge: 550 Beitrittsdatum: 29.12.10 Neueste Beiträge
Hi Aarti,
I think you decrease the z-index of your custom-popup as compared to that of Asset Popup.
I am not sure about it. But practically I think it should work.
Thanks & Regards,
Amit Doshi
I think you decrease the z-index of your custom-popup as compared to that of Asset Popup.
I am not sure about it. But practically I think it should work.
Thanks & Regards,
Amit Doshi