From 1faaa80b515c6e086a797e0cdf16c052d048f60e Mon Sep 17 00:00:00 2001 From: lorilee Date: Wed, 28 Jul 2010 15:00:36 -0700 Subject: [PATCH] Fixing HTML markup --- js/functions.js | 4 ++- libraries/common.lib.php | 2 +- libraries/display_export.lib.php | 2 +- libraries/display_import.lib.php | 2 +- main.php | 2 +- tbl_structure.php | 42 +++++++++++++++++--------------- 6 files changed, 29 insertions(+), 25 deletions(-) diff --git a/js/functions.js b/js/functions.js index 0d693e681..c510f71c2 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1867,7 +1867,9 @@ $(document).ready(function() { var left_offset = cell_right_edge_offset - $(".structure_actions_dropdown").innerWidth(); $.each($(".structure_actions_dropdown"), function() { - $(this).offset({ left: left_offset }); + // The top offset must be set for IE even if it didn't change + var top_offset = $(this).parent().offset().top + $(this).parent().innerHeight(); + $(this).offset({ top: top_offset, left: left_offset }); }); // When "more" is hovered over, show the hidden actions diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 331797605..ab12b67aa 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -491,7 +491,7 @@ function PMA_showHint($message, $bbcode = false, $type = 'notice') // footnotemarker used in js/tooltip.js return '' . $nr . '' . ''; + $GLOBALS['pmaThemeImage'] . 'b_help.png" alt="tooltip" />'; } /** diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php index 5f87197fa..a0e3ca5a5 100644 --- a/libraries/display_export.lib.php +++ b/libraries/display_export.lib.php @@ -62,7 +62,7 @@ if (! empty($sql_query)) {