fix #1144 사이트맵 페이지 중 '상세 설정' 페이지의 팝업 창 닫기 코드 개선

This commit is contained in:
bnu 2015-01-06 16:04:54 +09:00
parent 85350d9c7f
commit 8b94e68479

View file

@ -3843,6 +3843,7 @@ jQuery(function($){
}
top.fullSetupDone = function(htData){
jQuery('#properties').show();
jQuery._xeAdminVar.oSetupWin.close();
}
$('a._openFullSetup').click(function(ev){
@ -3986,7 +3987,7 @@ top.fullSetupWinLoaded = function(){
var $target = $("<iframe>").attr('name', 'submitTarget').attr('src', 'about:_blank').attr('style', 'position:absolute; top:-10000px; left:-10000px; width:1025px;height:769px');
$form.append($target);
$form.append($("<INPUT>").attr("type", "hidden").attr("name", "xe_js_callback").attr("value", "top.opener.top.fullSetupDone();top.window.close();var dummy="));
$form.append($("<INPUT>").attr("type", "hidden").attr("name", "xe_js_callback").attr("value", "top.opener.top.fullSetupDone"));
$form.attr('target', 'submitTarget');
//console.log(oWin);