Closed (fixed)
Project:
Clientside Validation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 06:24 UTC
Updated:
6 Jun 2012 at 17:21 UTC
In clientside_validation.js the function .indexOf() is being used a few times.
IE<9 doesn't support an .indexOf() function for Arrays.
More information and a function that fixes the problem can be found here:
http://stackoverflow.com/a/3629211
Pasting the indexOf() function at the top of clientside_validation.js solves the problem.
Comments
Comment #1
attiks commentedI added a shim to support trim, indexOf, lastIndexOf can you test this on IE8 and report back?
Comment #2
attiks commentedComment #3
ak commentedIE8 works for me as well.
As a small side note, the ie8 script is not included in conditional comments.
Comment #4
attiks commentedI know, see #865536: drupal_add_js() is missing the 'browsers' option
Comment #5.0
(not verified) commentedcorrect spelling