mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
이전의 설문조사는 어쩔 수 없으나 신규 설문조사 부터는 문서/댓글의 위치를 trigger을 이용하여 제대로 연결되도록 하고 관리자 페이지에서 문서 또는 댓글에서의 등록 유무를 체크하여 원본을 잘 찾도록 기능 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4127 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0e38dea1d0
commit
a69193bc50
13 changed files with 153 additions and 13 deletions
|
|
@ -36,3 +36,21 @@ function completeGetSkinColorset(ret_obj, response_tags, params, fo_obj) {
|
|||
sel.selectedIndex = selected_index;
|
||||
}
|
||||
|
||||
/* 관리자 페이지에서 선택된 설문조사 원본글로 이동하는 함수 */
|
||||
function doMovePoll(poll_srl, upload_target_srl) {
|
||||
|
||||
var params = new Array();
|
||||
params['poll_srl'] = poll_srl;
|
||||
params['upload_target_srl'] = upload_target_srl;
|
||||
|
||||
var response_tags = new Array('error','message','document_srl','comment_srl');
|
||||
exec_xml('poll','getPollAdminTarget', params, completeMovePoll, response_tags);
|
||||
}
|
||||
|
||||
function completeMovePoll(ret_obj, response_tags) {
|
||||
var document_srl = ret_obj['document_srl'];
|
||||
var comment_srl = ret_obj['comment_srl'];
|
||||
var url = request_uri.setQuery('document_srl', document_srl);
|
||||
if(comment_srl) url = url+'#comment_'+comment_srl;
|
||||
winopen(url, 'pollTarget');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue