Author: jablko
Date: Wed Oct 13 22:44:05 2010
New Revision: 8105

Log:
Cosmetic change

Modified:
   trunk/js/multiDelete.js

Modified: trunk/js/multiDelete.js
==============================================================================
--- trunk/js/multiDelete.js     Wed Oct 13 22:39:58 2010        (r8104)
+++ trunk/js/multiDelete.js     Wed Oct 13 22:44:05 2010        (r8105)
@@ -9,17 +9,17 @@
      * @param object thisElement dom <select> element to operate on
      * @return void
      */
-    Qubit.multiDelete = function (thisObj, elementName)
+    Qubit.multiDelete = function (thisObj)
     {
       // 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 ()
+      $('td', parentRows).each(function ()
         {
           // Only add to rows that don't already have an animateNicely div
-          if (0 == $(this).find('div.animateNicely').length)
+          if (0 == $('div.animateNicely', this).length)
           {
             if ('' == $.trim($(this).text()))
             {
@@ -34,7 +34,7 @@
           }
         });
 
-      parentRows.find('div:visible').hide('normal', function ()
+      $('div:visible', parentRows).hide('normal', function ()
         {
           parentRows.hide();
         });
@@ -58,7 +58,7 @@
               })
             .hide();
 
-          // Remove delete icons in table headers
+          // 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