Changeset 9353
- Timestamp:
- 01/13/2015 09:09:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r9308 r9353 1358 1358 /** Private Messaging ******************************************/ 1359 1359 1360 /** Message search */1360 /** Message search */ 1361 1361 jq('.message-search').on( 'click', function(event) { 1362 1362 if ( jq(this).hasClass('no-ajax') ) { … … 1367 1367 object; 1368 1368 1369 if ( target.attr('type') === 'submit' ) { 1370 //var css_id = jq('.item-list-tabs li.selected').attr('id').split( '-' ); 1369 if ( target.attr('type') === 'submit' || target.attr('type') === 'button' ) { 1371 1370 object = 'messages'; 1372 1371 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') ); 1372 bp_filter_request( 1373 object, 1374 jq.cookie('bp-' + object + '-filter'), 1375 jq.cookie('bp-' + object + '-scope'), 1376 'div.' + object, jq('#messages_search').val(), 1377 1, 1378 jq.cookie('bp-' + object + '-extras') 1379 ); 1374 1380 1375 1381 return false;
Note: See TracChangeset
for help on using the changeset viewer.