From da0fc40022e97fd13a2ea154ece2438f8de9470b Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 15 Mar 2011 20:57:47 +0530 Subject: [PATCH] A better way to handle clashing between row highlighting and inline edit. --- js/functions.js | 2 +- js/sql.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/functions.js b/js/functions.js index 3068c3eeb..94221b1b6 100644 --- a/js/functions.js +++ b/js/functions.js @@ -594,7 +594,7 @@ $(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 ($(e.target).is('a, a *') || $(e.target).parents('tr').find('td:nth(2)').hasClass('inline_edit_active')) { + if ($(e.target).is('a, a *')) { return; } // XXX: FF fires two click events for