Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1711 closed enhancement (fixed)

form submit button in global.js

Reported by: grosbouff's profile grosbouff Owned by:
Milestone: 1.2.1 Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

Hi; there is this function in global.js that applies on the search form :

/ Directory Search /

/* The search form on all directory pages */
j('div.dir-search').click( function(event) {

var target = j(event.target);

if ( target.attr('type') == 'submit' ) {

var css_id = j('div.item-list-tabs li.selected').attr('id').split( '-' );
var object = css_id[0];

bp_filter_request( object, j.cookie('bp-' + object + '-filter'), j.cookie('bp-' + object + '-scope') , 'div.' + object, target.parent().children('label').children('input').val(), 1 );

}

return false;

});

I think that the "return false" should be inside
if ( target.attr('type') == 'submit' ) {
}

: I would like to add checkboxes to the form and it is not possible as it is actually...

Change History (1)

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2508]) Fixes #1711

Note: See TracTickets for help on using tickets.