Pager working only when opening a new browser window for each page

skizzo - July 4, 2008 - 14:09
Project:Avatar Selection
Version:5.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Upgraded from 5.x-2.5 to 5.x-2.x-dev (Jul 2) and successfully applied update.php
Left-clicking on numbers in the pages list has no effect, although the URL reported
on mouse-over seems correct, and opening a new browser window (right-clicking)
works fine.

I tried with Firefox 2.0, Opera and Konqueror (all on Linux Fedora FC8) seeing
the same behavior. Caches cleared and Javascript enabled. Also tried to reduce
the number of avatars from 500 to 50, and to change FS from Private to Public,

Avatars per page: 12. All flags set, barring "Force users to select an avatar image
when editing their account". Permission "Access Avatar" set to ON for anonymous
users only. "Administer Avatar Selection" unchecked (tried to switch it on, to no effect)

Excerpt from Page Source:

</div>
</div>
</div>
<div class="avatar_selection_pager_nav"><strong class="pager-current">1</strong><a href="/admin/settings/avatar_selection/edit/role/0?page=1" onclick="return fetchPage('form#avatar-selection-edit-form', 'div.user_avatar_select', '/admin/settings/avatar_selection/edit/role/0', 1, '/sites/all/modules/avatar_selection/js/avatar_selection.js');" class="active">2</a><a href="/admin/settings/avatar_selection/edit/role/0?page=2" onclick="return fetchPage('form#avatar-selection-edit-form', 'div.user_avatar_select', '/admin/settings/avatar_selection/edit/role/0', 2, '/sites/all/modules/avatar_selection/js/avatar_selection.js');" class="active">3</a>

#1

stella - July 4, 2008 - 14:49

Is there any chance you could give me access to the site? My contact form is enabled if you wish to do so privately.

Failing that, do any errors appear in the Firefox error console (under Tools menu)? If you have Firebug installed, does that show anything useful?

Cheers,
Stella

#2

stella - July 7, 2008 - 08:49

Ah, I think there might be a dependency on a newer version of jquery. I forgot I upgraded it for other development I was doing, so it's possible that the code doesn't work with the default Drupal version.

Try installing the jQuery Update module. I'm pretty sure it should fix it. If it does, then I'll add in that dependency to the module.

Cheers,
Stella

#3

skizzo - July 7, 2008 - 12:29

Yes, enabling jQuery Update 5.x-2.0-rc1 fixes it. Status report
reads: The current installed version of jQuery is 1.2.6
Thank you!

#4

stella - July 7, 2008 - 12:33
Status:active» fixed

Great, I'll update the module with the dependency now.

Cheers,
Stella

#5

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.