From fd05984749cb83fec5a456b84dab52e5ace42b96 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 13 Feb 2011 12:53:22 +0530 Subject: [PATCH] Support for new Copy link in JavaScript enabled browsers. --- js/sql.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/sql.js b/js/sql.js index 7febb4a7a0..d28634802a 100644 --- a/js/sql.js +++ b/js/sql.js @@ -82,8 +82,12 @@ function appendInlineAnchor() { $cloned_tr.insertAfter($this_tr); }); - $("#table_results").find('tr').find(':checkbox').closest('tr').find('th') - .attr('rowspan', '4'); + $('#rowsDeleteForm').find('tbody').find('th').each(function() { + var $this_th = $(this); + if ($this_th.attr('rowspan') == 4) { + $this_th.attr('rowspan', '5'); + } + }); } else { $('.edit_row_anchor').each(function() { -- 2.11.4.GIT