I just noticed that the Avatar Selection widget falls back to the "check-box version" when enabling Javascript Aggregation (http://drupal.org//project/javascript_aggregator). Is there anything that can be done within Avatar Selection to fix that problem?

Comments

skizzo’s picture

The following errors are reported:

missing } after property list
[Break on this error] rd:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/j...

Drupal has no properties
[Break on this error]

Drupal.extend({ settings: { "jstools": { "cleanur...
stella’s picture

I can't reproduce it on my test site using the latest dev release. I imagine there is an error in one of the other js files being loaded on the page causing the compression to fail. That would explain the errors you're seeing. I don't see them on my site, so I can only suggest that you try disabling the avatar selection module to see if the error disappears. If it doesn't, then try disabling some of your other modules. Don't forget to clear your browser cache each time.

Cheers,
Stella

skizzo’s picture

Status: Active » Closed (fixed)

Thank you for the suggestion. I could not identify the file: apparently the error is not caused by JS aggregation itself, but rather by JS aggregation AND JS optimization. I see no errors enabling just one of the two... So I just disabled JS optimization (which brings little benefit, I believe). Sorry for entering this issue on the Avatar Selection queue.