Fix for #4788
Signed-off-by: Daniyal Shahid daniyal36@gmail.com Added a top margin to the datepicker after a certain window height so that null checkbox is visible
This commit is contained in:
parent
22c02499d7
commit
b39933c37b
@ -1026,6 +1026,12 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
|
||||
$input_field.datepicker("show");
|
||||
|
||||
var datepicker_top = parseInt(document.getElementById("ui-datepicker-div").style.getPropertyValue("top"), 10);
|
||||
|
||||
if (datepicker_top > 370 && !is_null) {
|
||||
document.getElementById("ui-datepicker-div").style.marginTop = "30px";
|
||||
}
|
||||
|
||||
if (is_null){
|
||||
$(g.cEdit).find('.edit_area').hide();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user