Skip to:

Opened 10 years ago

Closed 10 years ago

#5546 closed defect (bug) (fixed)

Prevent Load more button on activity page from "hot-clicking"

Reported by: slaffik's profile slaFFik Owned by: boonebgorges's profile boonebgorges
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Activity Keywords: has-patch


On activity directory scroll down the page and click 5 times (or whatever your finger speed is) while the older activity content is loaded. That content will be loaded 5 times (or whatever...), no duplications (that's good), but with artifacts: (testing on BP Default).

2012 theme and several other have the same effect, so this is not theme specific.

It's a good practice while showing the spinner still block the button/link from more clicks as well while processing the results.

Using BP 2.0 RC-1 and no plugins that modifies activity stream.

Attachments (1)

5546.diff (807 bytes) - added by needle 10 years ago.
Prevent Load More from firing multiple times

Download all attachments as: .zip

Change History (4)

#1 @boonebgorges
10 years ago

  • Milestone changed from Awaiting Review to 2.1

Good find. We should be blocking the button, as you note.

#2 @needle
10 years ago

  • Keywords has-patch added

Aha, that's what I was referring to in ticket:5212#comment:9 but completely forgot about. Cheers slaFFik.

10 years ago

Prevent Load More from firing multiple times

#3 @boonebgorges
10 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 8413:

Abort duplicate AJAX requests if Activity > Load More is clicked multiple times in succession

Fixes #5546

Props needle

Note: See TracTickets for help on using tickets.