Merge pull request #1688 from madhuracj/bug4918

#4918 Date field popup dialog position bug
This commit is contained in:
Atul Pratap Singh 2015-05-22 17:35:12 +05:30
commit 0e3f4c9200
3 changed files with 0 additions and 15 deletions

View File

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

View File

@ -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;

View File

@ -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;