From 8214c323403c48df394f6b0da28868bfe6e48f7a Mon Sep 17 00:00:00 2001 From: lorilee Date: Fri, 30 Jul 2010 12:31:15 -0700 Subject: [PATCH] Colspan should change to 3 when actions are hidden --- js/functions.js | 1 + tbl_structure.php | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/js/functions.js b/js/functions.js index 8836c06b4..e2d8473cd 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1855,6 +1855,7 @@ $(document).ready(function() { $("table[id='tablestructure'] td[class='unique']").remove(); $("table[id='tablestructure'] td[class='index']").remove(); $("table[id='tablestructure'] td[class='fulltext']").remove(); + $("table[id='tablestructure'] th[class='action']").attr("colspan", 3); // Display the "more" text $("table[id='tablestructure'] td[class='more_opts']").show() diff --git a/tbl_structure.php b/tbl_structure.php index 2cbf5acb1..c9c7fd3a1 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -193,17 +193,17 @@ $i = 0; # - - - - - - - + + + + + + + - + - +