Skip Navigation

[Resolved] View not running custom Javascript function after searching/filtering.

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by davidS-53 4 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#1320773
screencapture-icpkp-223-165-76-42-sth-nz-wp-admin-admin-php-2019-08-21-17_19_02.jpg
2019-08-21 17_19_12-.png
2019-08-21 17_32_31-Colleges Archive - ICPKP.png
2019-08-21 17_32_44-Colleges Archive - ICPKP.png

As above. I've used the code from here https://toolset.com/forums/topic/masonry-layout-broken-after-ajax-reload-parametric-search/ to reinitialize masonry after searching/filtering an archive.

Relevant screenshots all attached.

Everything works fine until you search/filter. It displays the relevant results but they are not in the masonry layout.

I added that generic button to test manually triggering the same function, and it works fine if you click it after searching/filtering.

You can see it here: hidden link

Any ideas what's going on with it?

#1321115

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

I'll suggest we close this as a duplicate of the other thread unless there is something specific to deal with here...

#1321699

Yep this is a duplicate- sorry, closed the tab early and thought it hadn't posted.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.