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

problem in send form data with post method on firefox #124

Closed
nimafam opened this issue Sep 24, 2016 · 2 comments
Closed

problem in send form data with post method on firefox #124

nimafam opened this issue Sep 24, 2016 · 2 comments

Comments

@nimafam
Copy link

nimafam commented Sep 24, 2016

There is a problem with submitting form in mozila firefox, When I try to submit, page has reloaded and I lost some of my data that echo from controller and it just happen in firefox and in chrome it works well.

I make ic-push-url="false" and it must work but I don't understand why it happens?

@nimafam nimafam changed the title problem in send form data with posth method on firefox problem in send form data with post method on firefox Sep 26, 2016
@1cg
Copy link
Contributor

1cg commented Sep 26, 2016

You probably don’t want to push the URL with form submission, right?  Or is this a search?

Cheers,
Carson

On September 24, 2016 at 1:12:55 AM, nimafam (notifications@github.com) wrote:

There is a problem with submitting form in mozila firefox, When I try to submit, page has reloaded and I lost some of my data that echo from controller and it just happen in firefox and in chrome it works well.

I make ic-push-url="false" and it must work but I don't understand why it happens?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@nimafam
Copy link
Author

nimafam commented Sep 27, 2016

Thank's for your answer, no I don't want to push URL.
I have a form that contains a 2 field, I should get the data send to the controller and specific function checks that field with DB to see if is exist or not, After that It echo some popup (modal) from controller to view.
But in this step when I try echo popup and after echo that the page has reloaded.

I check access log and I found that after firing POST request sometimes fires a GET request and I don't know why?and it just happens in Mozila and works fine in chrome.

@1cg 1cg closed this as completed Feb 17, 2017
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

2 participants