1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00
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:
Daniyal Shahid
2015-03-06 00:34:37 +05:00
parent 22c02499d7
commit b39933c37b

View File

@@ -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();
}