Author: jablko
Date: Wed Oct 13 22:39:58 2010
New Revision: 8104

Log:
Avoid default behavior with type="button", 
http://www.w3.org/TR/html401/interact/forms.html#push-button

Modified:
   trunk/js/multiDelete.js

Modified: trunk/js/multiDelete.js
==============================================================================
--- trunk/js/multiDelete.js     Wed Oct 13 22:37:43 2010        (r8103)
+++ trunk/js/multiDelete.js     Wed Oct 13 22:39:58 2010        (r8104)
@@ -51,11 +51,9 @@
               {
                 var input = this;
 
-                return $('<button class="delete-small" 
name="delete"/>').click(function (event)
+                return $('<button class="delete-small" 
type="button"/>').click(function ()
                   {
                     Qubit.multiDelete(input, $(input).attr('name'));
-
-                    event.preventDefault();
                   });
               })
             .hide();

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