Can someone answer this one please: https://stackoverflow.com/questions/38527167/using-mockup-patterns-in-faceted-views-in-plone-5
I suspect this is a good case for using DOM MutationObserver (usual caveats apply) to re-scan and left a comment to such effect.
Hi Philip,
I have just proposed a solution https://stackoverflow.com/questions/38527167/using-mockup-patterns-in-faceted-views-in-plone-5/38535831#38535831
Tell me if it works for you.
1 Like
Thanks, that worked perfectly. Here is the final code:
require([ 'jquery', 'pat-registry' ], function($, Registry) { $(Faceted.Events).bind(Faceted.Events.AJAX_QUERY_SUCCESS, function() { Registry.scan($('#content-core')); }); })