mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
js roll back
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7250 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9d6c3fe521
commit
a2fbf06aa3
2 changed files with 4 additions and 4 deletions
|
|
@ -26,9 +26,9 @@ function doPoll(fo_obj) {
|
||||||
var poll_srl_indexes = "";
|
var poll_srl_indexes = "";
|
||||||
for(var poll_srl_index in checkcount) {
|
for(var poll_srl_index in checkcount) {
|
||||||
if(!checkcount.hasOwnProperty(poll_srl_index)) continue;
|
if(!checkcount.hasOwnProperty(poll_srl_index)) continue;
|
||||||
var count = parseInt(checkcount[poll_srl_index]);
|
var count = checkcount[poll_srl_index];
|
||||||
var items = item[poll_srl_index];
|
var items = item[poll_srl_index];
|
||||||
if(items.length < 1 || count > items.length) {
|
if(items.length < 1 || count < items.length) {
|
||||||
alert(poll_alert_lang);
|
alert(poll_alert_lang);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ function doPoll(fo_obj) {
|
||||||
var poll_srl_indexes = "";
|
var poll_srl_indexes = "";
|
||||||
for(var poll_srl_index in checkcount) {
|
for(var poll_srl_index in checkcount) {
|
||||||
if(!checkcount.hasOwnProperty(poll_srl_index)) continue;
|
if(!checkcount.hasOwnProperty(poll_srl_index)) continue;
|
||||||
var count = parseInt(checkcount[poll_srl_index]);
|
var count = checkcount[poll_srl_index];
|
||||||
var items = item[poll_srl_index];
|
var items = item[poll_srl_index];
|
||||||
if(items.length < 1 || count > items.length) {
|
if(items.length < 1 || count < items.length) {
|
||||||
alert(poll_alert_lang);
|
alert(poll_alert_lang);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue