Fixed issue #685 - Feedback form not working in Safari.
This commit is contained in:
parent
29ec431810
commit
4e9f33954b
1 changed files with 5 additions and 0 deletions
|
@ -277,9 +277,14 @@ $(function() {
|
|||
|
||||
var formData = new FormData(_this.$form[0])
|
||||
|
||||
/* unfortunaly not working in safari and some IEs - https://developer.mozilla.org/en-US/docs/Web/API/FormData
|
||||
if (!formData.has('title')) {
|
||||
formData.append('title', this.options.messageTitle)
|
||||
}
|
||||
*/
|
||||
if (!_this.$form.find('[name=title]').val()) {
|
||||
formData.append('title', this.options.messageTitle)
|
||||
}
|
||||
|
||||
if (this.options.test) {
|
||||
formData.append('test', true)
|
||||
|
|
Loading…
Reference in a new issue