summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-12-15 22:48:55 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-15 22:48:55 +0100
commit49e0df0d4e1b2f25be4ab36660dac5e47768c9a1 (patch)
tree98672a344a15a8a16ab03e859563f948d8f074af /extensions/BugModal
parent506797cd636512a25d99a2deb1cb6fd9fbbfa94e (diff)
downloadbugzilla-49e0df0d4e1b2f25be4ab36660dac5e47768c9a1.tar.gz
bugzilla-49e0df0d4e1b2f25be4ab36660dac5e47768c9a1.tar.xz
Bug 1424940 - Removing datetimepicker residue
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