Ticket #6116: 6116-03.patch
File 6116-03.patch, 1008 bytes (added by , 10 years ago) |
---|
-
src/bp-templates/bp-legacy/js/buddypress.js
1366 1366 var target = jq(event.target), 1367 1367 object; 1368 1368 1369 if ( target.attr('type') === 'submit' ) {1369 if ( target.attr('type') === 'submit' || target.attr('type') === 'button' ) { 1370 1370 //var css_id = jq('.item-list-tabs li.selected').attr('id').split( '-' ); 1371 1371 object = 'messages'; 1372 1372 1373 bp_filter_request( object, jq.cookie('bp-' + object + '-filter'), jq.cookie('bp-' + object + '-scope') , 'div.' + object, target.parent().children('label').children('input').val(), 1, jq.cookie('bp-' + object + '-extras') );1373 bp_filter_request( object, jq.cookie('bp-' + object + '-filter'), jq.cookie('bp-' + object + '-scope') , 'div.' + object, jq('#messages_search').val(), 1, jq.cookie('bp-' + object + '-extras') ); 1374 1374 1375 1375 return false; 1376 1376 }