From d2955a1f3592f077adacebdd7aef068df9c50c72 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 15 Mar 2011 00:59:16 +0530 Subject: [PATCH] Do not mark rows when clicked on anchor --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index 8087dcc998..3068c3eebd 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).parents('tr').find('td:nth(2)').hasClass('inline_edit_active')) { + if ($(e.target).is('a, a *') || $(e.target).parents('tr').find('td:nth(2)').hasClass('inline_edit_active')) { return; } // XXX: FF fires two click events for