Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

Wrong parameter lookup in POST querydict of _handle_cancel #2

Closed
theju opened this issue Dec 15, 2009 · 1 comment
Closed

Wrong parameter lookup in POST querydict of _handle_cancel #2

theju opened this issue Dec 15, 2009 · 1 comment

Comments

@theju
Copy link

theju commented Dec 15, 2009

The POST querydict does not get '_cancel' as a key in _handle_cancel but the key is 'submit' and value is '_cancel'. Due to this clicking on cancel on a form won't work (this is just one of the reasons, there is another reason which would require another topic to be opened).

Check http://github.com/theju/django-frontendadmin/commit/9768d968651c1237cf5def579d524eb926e4e5b8

@olethanh
Copy link

olethanh commented Dec 4, 2010

The problem is that in ajax mode this is 'submit' == '_cancel' and in non-ajax mode there is a '_cancel' key in the get dict

@bartTC bartTC closed this as completed Oct 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants