Chris,

Is the confirm dialog being triggered? Any errors in your JS console?

James

On Sunday, December 9, 2012, Chris McCann wrote:

> I've got a Rails app in production that seems to have problems with users
> on Windows (XP, Win7 and Win8, so far) using Chrome, FireFox and IE.
>
> The issue is with the link_to helper when I've specified :method => :post
> for links that change state on the server.  These links typically have
> :confirm set to verify that the user wants to perform the action they're
> requesting, and the link_to helper does it's thing by adding a JS-based
> form to handle the action.
>
> What I'm seeing with a few Windows users is the :post request is coming
> through as a :get, and since that controller action is set in the routes
> file to only handle :post requests an error is being generated.
>
> I thought at first that the users had JavaScript disabled as that was the
> only way I was able to duplicate the problem.  That doesn't appear to be
> the case and now I'm a bit stumped.
>
> Has anyone else seen this behavior or have words of wisdom on how to
> troubleshoot or fix it?
>
> Thanks,
>
> Chris
>
> --
> SD Ruby mailing list
> [email protected] <javascript:_e({}, 'cvml',
> '[email protected]');>
> http://groups.google.com/group/sdruby

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to