mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Also apply iframe solution to dispTempSavedList
This commit is contained in:
parent
7157181726
commit
d1d278719c
4 changed files with 12 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@
|
|||
};
|
||||
</script>
|
||||
<style>
|
||||
.x.popup { width: 100vw; height: 100vh; }
|
||||
.x.popup > div { width: 100vw; height: 100vh; display: flex; flex-direction: column; }
|
||||
.x.popup { width: 100vw; height: 100vh; display: flex; flex-direction: column; }
|
||||
.x_modal-header { flex: 0 0 auto; }
|
||||
.x_modal-body { flex: 1; overflow: scroll; }
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
{@Context::addMetaTag('viewport', 'width=device-width', FALSE);}
|
||||
<div>
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->cmd_view_saved_document}</h1>
|
||||
<a class="close_window" href="javascript:window.close()">×</a>
|
||||
</div>
|
||||
<div class="x_modal-body">
|
||||
<!-- 목록 -->
|
||||
|
|
@ -41,6 +43,7 @@
|
|||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} ›</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
<div>
|
||||
{$popup_content|noescape}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue