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

[BUGFIX] https://github.com/einpraegsam/powermail_cond/issues/15 remo… #26

Closed
wants to merge 5 commits into from

Conversation

tentacular
Copy link

This commit fixes #15
For comparison I included the file Resources/Public/JavaScript/PowermailCondition.deminified.js
The changes can be seen in line 28-32.
Safari throws an error, when you try to submit a FormData Object that includes file upload fields as payload of an ajax request. My change is to remove all file upload fields before request.
Note: upload fields can no longer be used as start_field or equal_field in rules. They can however still be used as target_field in conditions.

Philip Liebel and others added 5 commits October 1, 2018 10:20
… request.

note: upload fields can no longer be used as start_field or equal_field in rules. they can stil be used as target_field in conditions
@tentacular
Copy link
Author

Updated original pull request

  • merged with current master version
  • build is now via gulp
  • PowermailCondition.deminified.js was removed
  • check added that dataToSend.delete exists, which caused an error in internet explorer

@einpraegsam
Copy link
Collaborator

Thx for your PR. Can you please make a small pull request. Let's say you want to fix Problem X. Explain the problem (or link it) and then just make a PR that only fixes this issue. Your PR seems to do a lot more. The compatibility for powermail 7 is already released.

@tentacular
Copy link
Author

No problem.
I'll make a frech pull from dev branch and resubmit

@tentacular tentacular closed this Dec 4, 2018
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

Successfully merging this pull request may close these issues.

Failed to load resource in Safari 11.1 using file input field in form
2 participants