mkupczyk / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

Any buttons inside add row form automatically submit form #122

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a form that adds a new row in the datatable using the "formAddNewRow" 
form template. Link the form to the server.
2. Add a button to the form. Don't assign any function to the button.
3. Run the form and click on the button. As a result of the button being 
pressed, the form will try to submit itself.

What is the expected output? What do you see instead?
Right now, any custom added button in the form will submit the form if pressed, 
which is unexpected behavior. Only the "OK" button should have the 
functionality to submit the form.

What version of the product are you using? On what operating system?
jquery-1.7.2
jquery-ui-1.8.21
jquery.jeditable 1.6.2
jquery.dataTables.editable 1.3
jquery.dataTables 1.9.2
OS: Windows XP SP3

Please provide any additional information below.
Chrome 21.0.1180.83 m
Web Server is Tomcat 7.0.29. 
Webpages developed using JSP technology and Java Development Kit 7.0.4.

Original issue reported on code.google.com by lisa.tan...@gmail.com on 22 Aug 2012 at 5:39