When the parent doucment is served by HTTP and the RadWindow is accessing a resource over HTTP, the GetRadWindow() function below works fine.
When the parent doucment is served by HTTPS and the RadWindow is accessing a resource over HTTPS, the GetRadWindow() function below works fine.
When the parent doucment is served by HTTP and the RadWindow is accessing a resource over HTTPS, the GetRadWindow() function below fails when called within the window (to close itself) with Permission denied. All the JS needed is served to the window over HTTPS. All I'm trying to do is close the RadWindow.
Does anyone know of a work around that would allow an HTTPS window that was opened from an HTTP parent close itself?
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;//IE (and Moz az well)
return oWindow;
}
Thanks,
Kevin
When the parent doucment is served by HTTPS and the RadWindow is accessing a resource over HTTPS, the GetRadWindow() function below works fine.
When the parent doucment is served by HTTP and the RadWindow is accessing a resource over HTTPS, the GetRadWindow() function below fails when called within the window (to close itself) with Permission denied. All the JS needed is served to the window over HTTPS. All I'm trying to do is close the RadWindow.
Does anyone know of a work around that would allow an HTTPS window that was opened from an HTTP parent close itself?
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;//IE (and Moz az well)
return oWindow;
}
Thanks,
Kevin