Author: jablko
Date: Wed Oct 13 23:03:40 2010
New Revision: 8110

Log:
Cosmetic change

Modified:
   trunk/js/multiDelete.js

Modified: trunk/js/multiDelete.js
==============================================================================
--- trunk/js/multiDelete.js     Wed Oct 13 23:02:12 2010        (r8109)
+++ trunk/js/multiDelete.js     Wed Oct 13 23:03:40 2010        (r8110)
@@ -10,31 +10,31 @@
      * @return void
      */
     Qubit.multiDelete = function ()
-    {
-      // Hide element
-      var $parentRows = $(this).closest('tr');
+      {
+        // Hide element
+        var $parentRows = $(this).closest('tr');
 
-      // Add "animateNicely" <div/> to each <td/> to make "hide" animation play
-      // nicely
-      $('td:not(:has(.animateNicely))', $parentRows).each(function ()
-        {
-          if ('' == jQuery.trim($(this).text()))
-          {
-            // Add a &nbsp; if <td/> has no contents because .hide() doesn't
-            // seem to operate on <div/>s that contain only whitespace
-            $(this).html('<div class="animateNicely">&nbsp;</div>');
-          }
-          else
+        // Add "animateNicely" <div/> to each <td/> to make "hide" animation
+        // play nicely
+        $('td:not(:has(.animateNicely))', $parentRows).each(function ()
           {
-            $(this).wrapInner('<div class="animateNicely"/>');
-          }
-        });
+            if ('' == jQuery.trim($(this).text()))
+            {
+              // Add a &nbsp; if <td/> has no contents because .hide() doesn't
+              // seem to operate on <div/>s that contain only whitespace
+              $(this).html('<div class="animateNicely">&nbsp;</div>');
+            }
+            else
+            {
+              $(this).wrapInner('<div class="animateNicely"/>');
+            }
+          });
 
-      $('div:visible', $parentRows).hide('normal', function ()
-        {
-          $parentRows.hide();
-        });
-    }
+        $('div:visible', $parentRows).hide('normal', function ()
+          {
+            $parentRows.hide();
+          });
+      }
 
     /**
      * On page load, replace "multiDelete" checkboxes with delete icons
@@ -56,5 +56,5 @@
 
           // Drop delete icons from table headers
           $('th img.deleteIcon').remove();
-        } };
+        } }
   })(jQuery);

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