Closed (duplicate)
Project:
jQuery Update
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2012 at 11:14 UTC
Updated:
18 Jun 2014 at 02:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
diggingrelic commentedI verify that this is an issue and the fix described in #1669960 works for me.
Comment #2
dsnopekI can verify that version of jquery.form.js currently included in jquery_update breaks in IE8. Here is the offending code:
Notice how it's using
for (var k in options.data[n])to loop over an Array. This will cause it to even include methods and the 'length' property! It should probably have been using afor (var k = 0; k < options.data[n].length; k++)style loop. In any case, this problem is fixed in newer versions of jquery.form.js.I've attached a patch that includes jquery.form.js version 3.35.
Please let me know what you think!
Comment #3
asvsot commented#2 works fine for me. Fixes IE8 issue.
Comment #4
pandapowder commented#2 worked for me. I'm a bit worried about breaking some other thing in the vast drupal ocean, but... it fixes my bug so :) I'm going to swap it out!
Comment #5
pandapowder commentedComment #6
markhalliwellThe current version is
3.50.0-2014.02.05: https://github.com/malsup/form/blob/master/jquery.form.jsWe should probably update to that and verify nothing breaks before continuing.
Comment #7
markhalliwellActually closing in favor (and dup) of related issue.