* code for task#892.

This commit is contained in:
chencongzhi520@gmail.com
2012-08-29 09:25:08 +00:00
parent e547a244ce
commit 3f7e8ef522
+3 -3
View File
@@ -49,7 +49,7 @@ function loadList(type, id)
function selectNext()
{
$("#end ").get(0).selectedIndex = $("#begin ").get(0).selectedIndex + 2;
$("#end ").get(0).selectedIndex = $("#begin ").get(0).selectedIndex + 3;
}
function setBeginsAndEnds(i)
@@ -58,7 +58,7 @@ function setBeginsAndEnds(i)
{
for(j = 0; j < batchCreateNum; j++)
{
endIndex = $("#begins" + j).get(0).selectedIndex + 2;
endIndex = $("#begins" + j).get(0).selectedIndex + 3;
$("#ends" + j).get(0).selectedIndex = endIndex;
}
}
@@ -68,7 +68,7 @@ function setBeginsAndEnds(i)
for(j = i; j < batchCreateNum; j++)
{
$("#begins" + j).val(begin);
$("#ends" + j).get(0).selectedIndex = $("#begins" + i).get(0).selectedIndex + 2;
$("#ends" + j).get(0).selectedIndex = $("#begins" + i).get(0).selectedIndex + 3;
}
}
}