I just updated the avatar selection module to the 2.9 version and found some problems with the pager : loading never ends.
I was getting this message in my debug output "script stack space quota is exhausted" caused by jquery.js.
After a some research, I found out what was causing the problem : the browser.
In avatar_selection_pager.js, the variable 'data' passed to jquery was too big, since the page contained too much data.

I've attached a patch that solves the problem, but since I don't know much of javascript, I didn't find a better way to do it.
Feel free to improve it.

There was also a problem in Opera about the opacity. It's in the patch too.

pager_loading_problem.patch1.24 KBamelfe


stella’s picture

Status: Active » Postponed (maintainer needs more info)

I've committed the opacity fix. However I'd like to understand the pager problem more first. I presume the pager problem occurred on the user edit/registration form, rather than on the avatar selection administration pages. How much data do you have on the user edit page? And how many fieldsets? How many avatars are you showing per page?

amelfe’s picture

It occured only in the user edit form if I remember well. There are about 10 filedsets and 6 avatars per page.
Data length is around 475409 characters (data.length).

Hope It helps.

stella’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I still can't reproduce the data size problem, so unless you can give me access to a site where it is happening or others can reproduce it, I'm marking this as closed for now.