Fixed an issue where Datetimepicker control opens when clicking on the label.

Change the click event to 'click .input-group'.

Fixes #4850
This commit is contained in:
Nagesh Dhope 2019-10-18 12:07:01 +05:30 committed by Akshay Joshi
parent 03391a07e0
commit 687fe617cc
3 changed files with 22 additions and 1 deletions

View File

@ -11,6 +11,7 @@ notes for it.
.. toctree::
:maxdepth: 1
release_notes_4_15
release_notes_4_14
release_notes_4_13
release_notes_4_12

View File

@ -0,0 +1,20 @@
************
Version 4.15
************
Release date: 2019-11-14
This release contains a number of bug fixes and new features since the release of pgAdmin4 4.14.
New features
************
Housekeeping
************
Bug fixes
*********
| `Issue #4850 <https://redmine.postgresql.org/issues/4850>`_ - Fixed an issue where Datetimepicker control opens when clicking on the label.

View File

@ -2690,7 +2690,7 @@ define([
'focus input': 'clearInvalid',
'focusout input': 'closePicker',
'change.datetimepicker': 'onChange',
'click': 'togglePicker',
'click .input-group': 'togglePicker',
},
togglePicker: function() {
if (this.has_datepicker) {