If i install the calendar module (and date, views, etc, etc) and install scroll to top, navigate to the calendar page display (month) click on the calendar pager to jump to the next month, the scroll to top button is rendered and wont hide again / stays on a fixed position. I don't know if this is a calendar or scroll to top issue and back to top has a similar issue, but i guess i try here first. (and im not that strong on javascript, php / perl are my choices in life, else i would have tried to fix it myself)

CommentFileSizeAuthor
#2 ajax_link-1556608-2.patch846 bytestarekdj

Comments

tarekdj’s picture

Title: Small issue with for example the calendar module / ajax pager on the calendar » Button dispalyed on ajax pager click

This bug is not related to calendar module. Hi have the same issue on clicking on an ajax pager link in views block.

tarekdj’s picture

Status: Active » Needs review
StatusFileSize
new846 bytes

The problem was that the button was added avery time we click an ajax link.
Attached a patch that fixed the problem for me. Need more test to see if all works fine.

tarekdj’s picture

Version: 7.x-2.0-beta4 » 7.x-2.x-dev

sorry forgot to mention that the patch is for 7.x-2.x

rob c’s picture

This indeed fixes the issue on the calendar. When i now click on a next or previous button on the calendar, the scroll to top button disappears and re-appears when i scroll down again. So RTBC for me!

Linked this to a similar issue with back to top, maybe they can use this fix too. Thnx for the quick patch!

tarekdj’s picture

Status: Needs review » Fixed

Fix commited to dev release.

Status: Fixed » Closed (fixed)

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