diff --git a/module/todo/js/common.js b/module/todo/js/common.js new file mode 100644 index 0000000000..f79fbdd536 --- /dev/null +++ b/module/todo/js/common.js @@ -0,0 +1,12 @@ +function switchDateTodo(switcher) +{ + if(switcher.checked) + { + $('#date').attr('disabled','disabled'); + } + else + { + $('#date').removeAttr('disabled'); + } +} +