The links with magic use-ajax class are broken after tabs change.

How to reproduce:
Please change the tab and come back to previous tab. After that use-ajax links are not passed by behaviors.

I have removed ajax-processed class from cached HTML to make them working again

CommentFileSizeAuthor
broken_ajax_functionality.patch1.46 KBid.tarzanych

Comments

itarato’s picture

Status: Needs review » Postponed (maintainer needs more info)

I'm not sure I see the problem. Could you explain please what is the 'use-ajax' thing? I cannot see it anywhere.

id.tarzanych’s picture

This module completely generates HTML code and put it into the storage, so we can switch between tabs without new reloads.
But .once events will not be processed, because elements already consist *-processed classes. Most critical of them is ajax-processed

rahul.shinde’s picture

@id.tarzanych Please provide the new patch.