load more ajax call not working after loading block via ajax

Created on 15 February 2023, about 2 years ago

After enabling the feature of loading blocks via ajax, the ajax on the load more button stopped working.

When we click on "load more," it is now refreshing the page instead of loading content.

Please suggest.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India pratikshad Mumbai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @pratikshad
  • Status changed to Postponed: needs info about 2 years ago
  • 🇨🇦Canada geoanders Nova Scotia 🍁

    Please provide more steps to reproduce problem.

  • Status changed to Active about 2 years ago
  • 🇺🇸United States loze Los Angeles

    Same Issue.

    Views blocks that load more pages with an ajax pager do not work when they are loaded by block_ajax
    The pager works properly if ajax block is not enabled.

    Steps:
    - Create a block view that has an ajax enabled pager.
    - Enable the ajax loading of the block
    - The pager in the loaded block does not work.

  • 🇺🇸United States loze Los Angeles
  • 🇬🇷Greece giorgosk Chios, Greece 🇬🇷

    In similar fashion we have successfully added a poll (views block) with this module and it displays correctly but it has lost its ability to vote using ajax. Instead clicking on the vote button reloads the whole page.

    Noticed that the submit button and the form action has lost some of the ajax related attributes. Not trying to hijack the issue queue just think the problem and solution might be very similar or can be generalized.

  • 🇩🇪Germany Anybody Porta Westfalica

    @geoanders you have your Drupal.org contact form disabled, I couldn't find a way to contact you, could you please contact me or see the CRITICAL issue for block_ajax please?

    Back here: I think this has the same reason as the other issues in 🐛 [META] Block attachments are not loaded Active

Production build 0.71.5 2024