dimanche 8 juin 2014

iframe window closed when loading SSL site

Hi,

I create a new iframe window when I load a URL:


new Ext.Window({

title : item.title,

width : getViewSize(item, 'width'),

height: getViewSize(item, 'height'),

layout : 'fit',

bodyStyle: 'background:#ffffff;',

modal: true,

draggable: false,

items : [{

xtype : 'component',

id : 'iframe-win',

autoEl : {

tag : "iframe",

src : item.href

}

}]

}).show();


It works well except when the URL is prefixed with https. The iframe window is closed and the page is loaded in parent window.


I really couldn't figure out why is this happening. Does anyone know how to prevent it?


Edit: I guess SSL content cannot be displayed in iframe?


Thank you very much.





Aucun commentaire:

Enregistrer un commentaire