diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index fbae9f58a1..0582ff9b4c 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -41,7 +41,7 @@
" . $lang->todo->export, '', "class='btn export'") ?> - " . $lang->todo->batchCreate, '', "class='btn'") ?> + " . $lang->todo->batchCreate, '', "class='btn'") ?> " . $lang->todo->create, '', "class='btn'") ?>
diff --git a/module/todo/js/create.js b/module/todo/js/create.js new file mode 100644 index 0000000000..2f6cadec2b --- /dev/null +++ b/module/todo/js/create.js @@ -0,0 +1,10 @@ +$(function() +{ + selectNext(); + $('#date').change(function() + { + var selectTime = $(this).val() != today ? start : nowTime; + $('#begin').val(selectTime); + selectNext(); + }) +}) diff --git a/module/todo/view/batchcreate.html.php b/module/todo/view/batchcreate.html.php index 2b13769a0c..395ac283aa 100755 --- a/module/todo/view/batchcreate.html.php +++ b/module/todo/view/batchcreate.html.php @@ -36,6 +36,7 @@ + todo->batchCreate; $i++):?> diff --git a/module/todo/view/create.html.php b/module/todo/view/create.html.php index e3f3c0a0f2..1aaa4f5228 100644 --- a/module/todo/view/create.html.php +++ b/module/todo/view/create.html.php @@ -57,7 +57,7 @@ todo->beginAndEnd;?>
- +
todo->lblDisableDate;?> @@ -76,5 +76,9 @@ + -