Author: sevein
Date: Sun Nov  7 10:10:35 2010
New Revision: 8794

Log:
Get deleteEvent checkboxes out from rows to avoid being not posted to server 
when a row is removed (this commit complements r8793).

Modified:
   trunk/js/multiDelete.js

Modified: trunk/js/multiDelete.js
==============================================================================
--- trunk/js/multiDelete.js     Sun Nov  7 04:09:13 2010        (r8793)
+++ trunk/js/multiDelete.js     Sun Nov  7 10:10:35 2010        (r8794)
@@ -11,13 +11,13 @@
           $('.multiDelete', context)
             .after(function ()
               {
-                var input = this;
+                var $input = $(this);
 
                 return $('<button class="delete-small" 
type="button"/>').click(function (event)
                   {
                     event.stopPropagation();
 
-                    $(input).attr('checked', 'checked');
+                    $input.attr('checked', 
'checked').appendTo($input.closest('table'));
 
                     // Hide element
                     var $parentRows = $(this).closest('tr');

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