From 6c7ee747b7c84cb29d76ee752f803a67f5823fb0 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 22 May 2015 14:55:25 +0530 Subject: [PATCH] #4918 Date field popup dialog position bug Signed-off-by: Madhura Jayaratne --- js/makegrid.js | 5 ----- themes/original/css/common.css.php | 5 ----- themes/pmahomme/css/common.css.php | 5 ----- 3 files changed, 15 deletions(-) diff --git a/js/makegrid.js b/js/makegrid.js index 48f311e79c..4ed8fa742e 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -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('
' + g.cellEditHint + '
'); } } - 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(); } diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php index 455ac98ead..58b6cd1b67 100644 --- a/themes/original/css/common.css.php +++ b/themes/original/css/common.css.php @@ -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; diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index 45f1f9ba4a..46d4ac1eca 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -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;