summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/web/bug_modal.js25
1 files changed, 1 insertions, 24 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index ab479d07e..104acef0b 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -976,30 +976,7 @@ $(function() {
$('#' + id + '-view').hide();
$('#' + id).show().focus().select();
});
-
- // date/datetime pickers
- $('.cf_datetime').datetimepicker({
- format: 'Y-m-d G:i:s',
- datepicker: true,
- timepicker: true,
- scrollInput: false,
- lazyInit: false, // there's a bug which prevents img->show from working with lazy:true
- closeOnDateSelect: true
- });
- $('.cf_date').datetimepicker({
- format: 'Y-m-d',
- datepicker: true,
- timepicker: false,
- scrollInput: false,
- lazyInit: false,
- closeOnDateSelect: true
- });
- $('.cf_datetime-img, .cf_date-img')
- .click(function(event) {
- var id = $(event.target).attr('id').replace(/-img$/, '');
- $('#' + id).datetimepicker('show');
- });
-
+
// timetracking
$('#work_time').change(function() {
// subtracts time spent from remaining time