From ce116ac614778efaa61f641b02d36ce0269feb56 Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Fri, 11 Mar 2011 23:55:52 +0100 Subject: [PATCH] fixed row/column highlighting --- js/functions.js | 23 ++++++++++++++++++++--- themes/original/css/theme_right.css.php | 1 + themes/pmahomme/css/theme_right.css.php | 1 + 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/js/functions.js b/js/functions.js index 8abdc5113..94221b1b6 100644 --- a/js/functions.js +++ b/js/functions.js @@ -594,10 +594,27 @@ $(document).ready(function() { */ $('tr.odd:not(.noclick), tr.even:not(.noclick)').live('click',function(e) { //do not trigger when clicked on anchor or inside input element (in inline editing mode) with exception of the first checkbox - if (!jQuery(e.target).is('a, a *, :input:not([name^="rows_to_delete"])')) { - var $tr = $(this); + if ($(e.target).is('a, a *')) { + return; + } + // XXX: FF fires two click events for