[Seaside] How can I change default AJAX settings?

Mariano Martinez Peck marianopeck at gmail.com
Fri Apr 14 01:06:01 UTC 2017


Hi guys,

I have a few places where I am reaching the limit of URL size due to AJAX
serialziation. I can manually fix the places where I serialize a bunch and
do:

jQuery ajax type: 'POST';
serializeForm;
...

But I am wondering if I can change this globally, for all AJAX requests. I
tried this:

 html jQuery ajaxSetup type: 'POST'

But doesn't seem to work. Does someone know how to?

In addition, I wonder, is it a bad idea to set 'POST' as default?

Thanks in advance,


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170413/b1163760/attachment.html>


More information about the seaside mailing list