fixed bug-#4281 Grid edit enum field, dialog disappears when trying to select value

Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>
This commit is contained in:
Viduranga Wijesooriya 2014-02-24 22:39:21 +05:30
parent 37e2eb730c
commit 7dae314aa3

View File

@ -1708,8 +1708,8 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
}
});
$('html').click(function (e) {
// hide edit cell if the click is not from the datepicker
if ($(e.target).parents().index($('#ui-datepicker-div')) == -1) {
// hide edit cell if the click is not from the datepicker or edit area
if ($(e.target).parents().index($('#ui-datepicker-div') && $('.cEdit .edit_area')) == -1) {
g.hideEditCell();
}
}).keydown(function (e) {