The branch, master has been updated via 18b0fa1482b2056855917367f64374492801f1fb (commit) from 7d465dcebbbeb7dd4c8defce065f539d8c21cbc4 (commit)
- Log ----------------------------------------------------------------- commit 18b0fa1482b2056855917367f64374492801f1fb Author: Marc Delisle marc@infomarc.info Date: Tue Nov 16 08:06:02 2010 -0500
inline editable fields were not highlighted or marked in horizontal mode
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/js/functions.js b/js/functions.js index 8bd9449..01db2e6 100644 --- a/js/functions.js +++ b/js/functions.js @@ -847,23 +847,27 @@ function checkTransmitDump(theForm, theAction) } // end of the 'checkTransmitDump()' function
/** - * For row marking in horizontal mode (use "live" so that it works also for + * Row marking in horizontal mode (use "live" so that it works also for * next pages reached via AJAX); a tr may have the class noclick to remove * this behavior. */ $(document).ready(function() { $('tr.odd:not(.noclick), tr.even:not(.noclick)').live('click',function() { - $(this).toggleClass('marked'); + var $tr = $(this); + $tr.toggleClass('marked'); + $tr.children().toggleClass('marked'); }); })
/** - * For row highlighting in horizontal mode (necessary for IE 6; use "live" + * Row highlighting in horizontal mode (use "live" * so that it works also for pages reached via AJAX) */ $(document).ready(function() { $('tr.odd, tr.even').live('hover',function() { - $(this).toggleClass('hover'); + var $tr = $(this); + $tr.toggleClass('hover'); + $tr.children().toggleClass('hover'); }); })
hooks/post-receive