mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1025 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e77791ab6b
commit
d4bef08607
15 changed files with 37 additions and 13 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/* 설문 참여 함수 */
|
||||
function doPoll(fo_obj) {
|
||||
|
||||
var check_count = new Array();
|
||||
var checkcount = new Array();
|
||||
var item = new Array();
|
||||
|
||||
for(var i=0;i<fo_obj.length;i++) {
|
||||
|
|
@ -12,7 +12,7 @@ function doPoll(fo_obj) {
|
|||
if(name.indexOf('checkcount')>-1) {
|
||||
var t = name.split('_');
|
||||
var poll_srl_index = parseInt(t[1],10);
|
||||
check_count[poll_srl_index] = obj.value;
|
||||
checkcount[poll_srl_index] = obj.value;
|
||||
item[poll_srl_index] = new Array();
|
||||
|
||||
} else if(name.indexOf('item_')>-1) {
|
||||
|
|
@ -24,8 +24,8 @@ function doPoll(fo_obj) {
|
|||
}
|
||||
|
||||
var poll_srl_indexes = "";
|
||||
for(var poll_srl_index in check_count) {
|
||||
var count = check_count[poll_srl_index];
|
||||
for(var poll_srl_index in checkcount) {
|
||||
var count = checkcount[poll_srl_index];
|
||||
var items = item[poll_srl_index];
|
||||
if(count > items.length) {
|
||||
alert(poll_alert_lang);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue