Fix bugs#4800] On selecting date, the datepicker disappears on master

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
This commit is contained in:
Atul Pratap Singh 2015-03-13 17:42:40 +05:30
parent f206cb35d8
commit 2d64504915

View File

@ -367,9 +367,13 @@ function PMA_addDatepicker($this_element, type, options)
$('#ui-timepicker-div').css('z-index', $('#ui-datepicker-div').css('z-index'));
}, 0);
},
onSelect: function() {
$this_element.data('datepicker').inline = true;
},
onClose: function (dateText, dp_inst) {
// The value is no more from the date picker
$this_element.data('comes_from', '');
$this_element.data('datepicker').inline = false;
}
};
if (type == "datetime" || type == "timestamp") {