Issue 127: Problem using nyroModalManual in HTTPS environment
Status:  WontFix
Owner: ----
Closed:  Feb 2009
Reported by ddar...@gmail.com, Dec 2, 2008
What steps will reproduce the problem?
1. Call nyroModal in iframe by code using $.nyroModalManual({type:
'iframe', url:'https://adress});
2. The page where we are calling the modal must be secured too.
3. In a few words, call an https page in an iframe from another https page

What is the expected output? What do you see instead?

The opening of the https page, but instead of that i receive a page opened
in the modal using the vistrual directory of the page who made the call

What version of the product are you using? On what operating system?

I'm using the version 1.3.1 in Windows XP Service Pack 3

Please provide any additional information below.

The page where i have the button who calls the modal have the following
address:

https://paria.valeven.com:8202/TarjetaHabientes/Home.aspx

The page i want to open in the modal is the following:

https://paria.valeven.com:8202/Encuestas/Encuesta.aspx

But when i click my button i get an error saying this:

Couldn't find the file: /TarjetaHabientes/Encuesta.aspx

So i guess that for some reason the page Encuesta.aspx is using the
directory of the parent page and not its own directory but this issue only
happens to me when i call the page in https way because if i use this addres: 

http://paria.valeven.com:8201/Encuestas/Encuesta.aspx

Everything works fine but it ask me if i want to visit a site that has
elements no secures.

BELOW THE CODE THAT I'M USING TO CALL THE IFRAME NYROMODAL:

$.nyroModalManual({                        
type: 'iframe',
closeButton: '<a href="#" class="nyroModalClose" id="closeBut"
title="close">Cerrar</a>',
url:
'https://paria.valeven.com:8202/Encuestas/Encuesta.aspx?Website=paria.valeven.com/TarjetaHabientes&Seccion=HomeTH&Cedula=<%=Session["usuarioCedula"]%>',
                    
width: 350,
height: 250
});

If you know why this could be happening it will be very helpfull.

Thanks a lot!!

Daniel .-




Jan 27, 2009
Project Member #1 nyro...@gmail.com
Sorry for the long time without any answer...
Instead of using the 'type' setting, could you try with the 'forceType' setting?
Feb 5, 2009
Project Member #2 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix