DELETE method on sfJqueryReloadedPlugin

29 views
Skip to first unread message

Samura

unread,
Nov 20, 2011, 5:47:08 AM11/20/11
to sfJqueryReloadedPlugin
Instead of just POST and GET, it would be nice to have a DELETE
method.

jQueryHelper.php:

335c335
< if ((isset($options['method'])) && (strtoupper($options['method'])
== 'GET')) $method = $options['method'];
---
> if ((isset($options['method'])) && (strtoupper($options['method']) == 'GET' || strtoupper($options['method']) == 'DELETE')) $method = $options['method'];

Tom Boutell

unread,
Nov 20, 2011, 10:04:54 AM11/20/11
to sfjqueryrel...@googlegroups.com
sfJqueryReloadedPlugin is in maintenance mode. Some years ago now
Fabien moved away from javascript helpers because "JavaScript should
be written in JavaScript." We agree but we have projects that need
maintenance that still use the plugin, so it continues to exist. But
new functionality doesn't make sense - if you want to write better
JavaScript for use in Symfony, write it in JavaScript.

--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

José de Zárate

unread,
Nov 20, 2011, 11:20:51 AM11/20/11
to sfjqueryrel...@googlegroups.com
+1 to Tom
--
uh, oh.



Reply all
Reply to author
Forward
0 new messages