Displaying 1 result from an estimated 1 matches for "resize_field".
Did you mean:
q_size_field
2009 Apr 08
0
authenticity problem with jrails ajax
...ike not as much of the prefered approach. I''ve had similar
problems with field_observer() calls in some cases. I think if the
json syntax is not used when there is just one parameter, it does
work.
function update_server(info)
{
<%#= remote_function(:url => {:action => ''resize_field''},
:with =>
''{col:info.col,width:info.width}'') # auth-OK
%>
$.ajax({data:
{col:info.col,width:info.width,authenticity_token:FORM_AUTH_TOKEN},
dataType:''script'', type:''post'...