IE6/7에서 HTTP페이지에서의 HTTPS 요청시 새창이 뜨던 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6776 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-09-08 06:31:00 +00:00
parent f0251ba21e
commit e43991462e
2 changed files with 8 additions and 3 deletions

View file

@ -6,7 +6,7 @@
<body>
<script type="text/javascript">
var idx = location.href.indexOf('?');
var url = top.location.href;
var url = parent.location.href;
if(idx > -1 ) {
var query_string = location.href.substr(idx+1, location.href.length);
var args = {};
@ -17,9 +17,9 @@
}
if(typeof(opener)!='undefined' && opener) {
opener.location.href = url;
window.close();
self.close();
} else {
top.location.href = url;
parent.location.href = url;
}
</script>
</body>