Grillos / jquery-datatables-editable

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

Deletion of rows should not be a GET request. #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
_fnOnRowDelete() should really not use a GET request, but rather a POST 
request, and possibly an option for using a DELETE method.

http://www.cs.tut.fi/~jkorpela/forms/methods.html has more details on the use 
of GET and POST.

Original issue reported on code.google.com by lars.d...@gmail.com on 20 Apr 2011 at 9:26

GoogleCodeExporter commented 8 years ago

Original comment by joc...@gmail.com on 4 May 2011 at 4:56

GoogleCodeExporter commented 8 years ago
Hi, 

This is a good suggestion. This is added in the version 1.1.5. so now default 
method is POST with option to be overriden using the sDeleteHttpMethod plugin 
parameter. You can see this on the 
http://jquery-datatables-editable.googlecode.com/svn/trunk/customization.html 
delete fails because google code do not allow POST request.

Regards,
Jovan 

Original comment by joc...@gmail.com on 4 May 2011 at 10:36

GoogleCodeExporter commented 8 years ago

Original comment by joc...@gmail.com on 4 May 2011 at 10:38