Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle response when not ajaxy #18

Open
jamezpolley opened this issue May 22, 2011 · 0 comments
Open

Handle response when not ajaxy #18

jamezpolley opened this issue May 22, 2011 · 0 comments
Assignees
Milestone

Comments

@jamezpolley
Copy link
Member

The current way of handling responses assumes that the user has a fancy browser and used ajax to submit the form, and just sends back a fragment to load into the containing div.

Instead, the handler should detect cases when this did not happen (hint: missing an extra value that only gets passed if the ajax magic worked) and instead redirect the user to the right page (/events, /, or /event/id, depending on where they came from)

@ghost ghost assigned jamezpolley May 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant