Merge pull request #1688 from madhuracj/bug4918
#4918 Date field popup dialog position bug
This commit is contained in:
commit
0e3f4c9200
@ -754,7 +754,6 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
|
||||
// empty all edit area, then rebuild it based on $td classes
|
||||
$editArea.empty();
|
||||
$editArea.removeClass('edit_area_right');
|
||||
|
||||
// remember this instead of testing more than once
|
||||
var is_null = $td.is('.null');
|
||||
@ -1069,10 +1068,6 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
$editArea.append('<div class="cell_edit_hint">' + g.cellEditHint + '</div>');
|
||||
}
|
||||
}
|
||||
if ($(g.cEdit).offset().left + $editArea.outerWidth() > $(document.body).width()) {
|
||||
$editArea.addClass('edit_area_right');
|
||||
$editArea.css('top','');
|
||||
}
|
||||
if ($editArea.children().length > 0 && !is_null) {
|
||||
$editArea.show();
|
||||
}
|
||||
|
||||
@ -2277,11 +2277,6 @@ fieldset .disabled-field td {
|
||||
height: 10em;
|
||||
}
|
||||
|
||||
.cEdit .edit_area_right {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.cEdit .goto_link {
|
||||
background: #EEE;
|
||||
color: #555;
|
||||
|
||||
@ -2851,11 +2851,6 @@ fieldset .disabled-field td {
|
||||
height: 10em;
|
||||
}
|
||||
|
||||
.cEdit .edit_area_right {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.cEdit .goto_link {
|
||||
background: #EEE;
|
||||
color: #555;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user