summaryrefslogtreecommitdiffstats
path: root/public/javascripts/datepicker.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/datepicker.js')
-rw-r--r--public/javascripts/datepicker.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/public/javascripts/datepicker.js b/public/javascripts/datepicker.js
deleted file mode 100644
index 9acae0cd4..000000000
--- a/public/javascripts/datepicker.js
+++ /dev/null
@@ -1,16 +0,0 @@
-function beforeShowDatePicker(input, inst) {
- var default_date = null;
- switch ($(input).attr("id")) {
- case "issue_start_date" :
- if ($("#issue_due_date").size() > 0) {
- default_date = $("#issue_due_date").val();
- }
- break;
- case "issue_due_date" :
- if ($("#issue_start_date").size() > 0) {
- default_date = $("#issue_start_date").val();
- }
- break;
- }
- $(input).datepicker("option", "defaultDate", default_date);
-}