From 3f7e8ef522c4e336f8c54bdffc554fbad06f30c5 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Wed, 29 Aug 2012 09:25:08 +0000 Subject: [PATCH] * code for task#892. --- module/todo/view/footer.html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/todo/view/footer.html.php b/module/todo/view/footer.html.php index 637c0159fd..f521746729 100644 --- a/module/todo/view/footer.html.php +++ b/module/todo/view/footer.html.php @@ -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; } } }