From 49e0df0d4e1b2f25be4ab36660dac5e47768c9a1 Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Fri, 15 Dec 2017 15:48:55 -0600 Subject: Bug 1424940 - Removing datetimepicker residue --- extensions/BugModal/web/bug_modal.js | 25 +------------------------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-24-g4f1b