Skip to content

Instantly share code, notes, and snippets.

@steveosoule
Last active February 5, 2016 19:37
Show Gist options
  • Save steveosoule/b0f08972aaaa831c6bb8 to your computer and use it in GitHub Desktop.
Save steveosoule/b0f08972aaaa831c6bb8 to your computer and use it in GitHub Desktop.
Miva & Search Spring - After Result Change
$(document).on('Miva.SearchSpring.AfterResultsChange', function(){
// console.log('Miva.SearchSpring.AfterResultsChange');
// Do something
});
SearchSpring.Catalog.init({
// ...
afterResultsChange: function() {
$(document).trigger('Miva.SearchSpring.AfterResultsChange');
}
// ...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment