[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_2-15605-g2fdfc4f

Piotr Przybylski crackpl at users.sourceforge.net
Wed Aug 17 18:26:23 CEST 2011


The branch, master has been updated
       via  2fdfc4fc1e19971767368061694a76499ca97463 (commit)
       via  18c65bbbba63d6f504d9589d7fc99f22312c97fd (commit)
      from  69672d854d4264330b3b331f725531c9e406c90e (commit)


- Log -----------------------------------------------------------------
commit 2fdfc4fc1e19971767368061694a76499ca97463
Author: Piotr Przybylski <piotrprz at gmail.com>
Date:   Wed Aug 17 18:25:56 2011 +0200

    "position: relative" on tables was required for grid, add it dynamically in PMA_makegrid

commit 18c65bbbba63d6f504d9589d7fc99f22312c97fd
Author: Piotr Przybylski <piotrprz at gmail.com>
Date:   Wed Aug 17 18:04:22 2011 +0200

    relative position doesn't work correctly on <table> elements
    in this case it broke position of "More" menus

-----------------------------------------------------------------------

Summary of changes:
 js/makegrid.js                          |    3 +++
 themes/original/css/theme_right.css.php |    4 ----
 themes/pmahomme/css/theme_right.css.php |    1 -
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/js/makegrid.js b/js/makegrid.js
index 1a51eb9..aabe9b5 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -1614,6 +1614,9 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
      * Initialize grid
      ******************/
 
+    // add relative position to table so that resize handlers are correctly positioned
+    $(t).css('position', 'relative');
+
     // wrap all data cells, except actions cell, with span
     $(t).find('th, td:not(:has(span))')
         .wrapInner('<span />');
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php
index b8ac623..3a7eeb5 100644
--- a/themes/original/css/theme_right.css.php
+++ b/themes/original/css/theme_right.css.php
@@ -2410,10 +2410,6 @@ span.cm-number {
     padding: 1px 3px !important;
 }
 
-.data {
-    position: relative;
-}
-
 .cHide {
     background: #D3DCE3 url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>col_hide.png);
     color: #CCC;
diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php
index ee2edea..6da96cf 100644
--- a/themes/pmahomme/css/theme_right.css.php
+++ b/themes/pmahomme/css/theme_right.css.php
@@ -72,7 +72,6 @@ h2 a img{display:inline;}
 
 .data{
     margin: 0 0 12px 0;
-    position: relative;
 }
 
 h3 {


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list