Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##I added this in a custom ajax.js file
- jQuery(document).ready( function() {
- var j = jQuery;
- /*load initial content*/
- if ( j('div.classified3s').length ) {
- console.log('div found');
- bp_filter_request( j.cookie('bp-classified3s-type'), j.cookie('bp-classified3s-filter'), 'classified3s', 'div.classified3s', j.cookie('bp-classified3s-page'), j.cookie('bp-classified3s-search-terms') );
- }
- The console.log('div found') is fired
- But then the ajax query is not called
- I added console.log("test"); in the core function bp_filter_request() and it's not fired...
- function bp_filter_request( type, filter, id, target, page, search_terms ) {
- console.log("test");
Add Comment
Please, Sign In to add comment