Also apply iframe solution to dispTempSavedList

This commit is contained in:
Kijin Sung 2025-05-14 02:32:23 +09:00
parent 7157181726
commit d1d278719c
4 changed files with 12 additions and 7 deletions

View file

@ -947,7 +947,12 @@ var objForSavedDoc = null;
function doDocumentLoad(obj) {
// 저장된 게시글 목록 불러오기
objForSavedDoc = obj.form;
popopen(request_uri.setQuery('module','document').setQuery('act','dispTempSavedList'));
var popup_url = request_uri.setQuery('module','document').setQuery('act','dispTempSavedList');
if (navigator.userAgent.match(/mobile/i)) {
openFullScreenIframe(popup_url);
} else {
popopen(popup_url);
}
}
/* 저장된 게시글의 선택 */
@ -957,7 +962,7 @@ function doDocumentSelect(document_srl, module) {
return;
}
if(module===undefined) {
if(module === undefined) {
module = 'document';
}
@ -978,7 +983,7 @@ function doDocumentSelect(document_srl, module) {
opener.location.href = url;
break;
default :
opener.location.href = opener.current_url.setQuery('document_srl', document_srl).setQuery('act', 'dispBoardWrite');
opener.location.href = opener.current_url.setQuery('act', 'dispBoardWrite').setQuery('document_srl', document_srl);
break;
}
window.close();