Closed (fixed)
Project:
Clientside Validation
Version:
7.x-1.33
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jun 2012 at 08:02 UTC
Updated:
2 Jul 2012 at 15:21 UTC
Since the update to Version 1.33 I got the following javascript error:
Uncaught ReferenceError: groupkey is not defined
for line 76 in clientside_validation.js
Due to this error all js stops working in the form.
I found out that the error only shows when javascript aggregation is activated.
So a quickfix is to turn it off temporarly.
Could someone pls look into this?
Comments
Comment #1
attiks commentedCan you try the latest dev version
Comment #2
akriel commentedthx for looking into it.
I tried the newest dev version and it fixed the error, but after that a similiar error was displayed for line 209 in clientside_validation.js:
"Uncaught ReferenceError: i is not defined"
I took a look at the line 209
i = 0;and changed it to
var i = 0;as was done with the former error in the new dev version.
This fixed the second error and all js is working again on my form.
I've noticed several other spots in clientside_validation.js (line 224, 229, 244, 249, 264, 269), which use the same variable assignments without
var. Maybe they need the same treatment?Comment #3
attiks commentedThey do
Comment #4
jelle_sFixed in the latest dev version