Author: jablko
Date: Wed Oct 13 21:55:19 2010
New Revision: 8102

Log:
Cosmetic change

Modified:
   trunk/js/multiDelete.js

Modified: trunk/js/multiDelete.js
==============================================================================
--- trunk/js/multiDelete.js     Wed Oct 13 21:53:17 2010        (r8101)
+++ trunk/js/multiDelete.js     Wed Oct 13 21:55:19 2010        (r8102)
@@ -14,23 +14,30 @@
       // Hide element
       var parentRows = $(thisObj).closest('tr');
 
-      // Add an "animateNicely" div to each td to make "hide" animation play 
nicely
-      parentRows.find('td').each(function (i) {
-        // Only add to rows that don't already have an animateNicely div
-        if (0 == $(this).find('div.animateNicely').length) {
-          if ('' == $.trim($(this).text())) {
-            // Add a &nbsp; if <td> has no contents because hide() doesn't 
seem to
-            // operate on <div>s that only contain whitespace
-            $(this).html('<div class="animateNicely">&nbsp;</div>');
-          } else {
-            $(this).wrapInner('<div class="animateNicely"></div>');
+      // Add an "animateNicely" div to each td to make "hide" animation play
+      // nicely
+      parentRows.find('td').each(function ()
+        {
+          // Only add to rows that don't already have an animateNicely div
+          if (0 == $(this).find('div.animateNicely').length)
+          {
+            if ('' == $.trim($(this).text()))
+            {
+              // Add a &nbsp; if <td> has no contents because hide() doesn't
+              // seem to operate on <div>s that only contain whitespace
+              $(this).html('<div class="animateNicely">&nbsp;</div>');
+            }
+            else
+            {
+              $(this).wrapInner('<div class="animateNicely"></div>');
+            }
           }
-        }
-      });
+        });
 
-      parentRows.find('div:visible').hide('normal', function() {
-        parentRows.remove();
-      });
+      parentRows.find('div:visible').hide('normal', function ()
+        {
+          parentRows.remove();
+        });
 
       // Append hidden field to delete element on form submit.  <button/> has
       // .form property, otherwise use $(thisObj).closest('form')?

-- 
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