Author: sevein
Date: Wed Dec  1 13:04:59 2010
New Revision: 44

Log:
Use preventDefault instead of return false (which also stops propagation).

Modified:
   trunk/templates/report.html

Modified: trunk/templates/report.html
==============================================================================
--- trunk/templates/report.html Wed Dec  1 13:03:48 2010        (r43)
+++ trunk/templates/report.html Wed Dec  1 13:04:59 2010        (r44)
@@ -12,19 +12,19 @@
 
    $(document).ready(function()
      {
-       $('td.httpmeta_remoteaddr a').click(function()
+       $('td.httpmeta_remoteaddr a').click(function (event)
          {
            jQuery.get('/gethostbyaddr/', { ip: jQuery(this).text() }, 
function(data) { alert(data); });
 
-           return false;
+           event.preventDefault();
          });
 
-       $('#report tbody tr').hover(function()
+       $('#report tbody tr').hover(function ()
         {
           $(this).toggleClass('hover');
         });
 
-       $('select[name=release]').change(function()
+       $('select[name=release]').change(function ()
         {
           $('form').submit();
         });

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to