mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
#174 설문조사 결과 보기 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2733 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ece48de14e
commit
e4d55fc4d1
10 changed files with 80 additions and 2 deletions
|
|
@ -42,10 +42,19 @@ function doPoll(fo_obj) {
|
|||
|
||||
/* 설문 조사후 내용을 바꿀 함수 */
|
||||
function completePoll(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
var poll_srl = ret_obj['poll_srl'];
|
||||
var tpl = ret_obj['tpl'];
|
||||
var width = xWidth("poll_"+poll_srl);
|
||||
xInnerHtml("poll_"+poll_srl, tpl);
|
||||
xWidth("poll_"+poll_srl, width);
|
||||
}
|
||||
|
||||
/* 설문 미리 보기 */
|
||||
function doPollViewResult(poll_srl) {
|
||||
var params = new Array();
|
||||
params['poll_srl'] = poll_srl;
|
||||
|
||||
var response_tags = new Array('error','message','poll_srl', 'tpl');
|
||||
|
||||
exec_xml('poll','procPollViewResult', params, completePoll, response_tags);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue