[buddypress-trac] [BuddyPress] #1959: No-ajax search should 'return' not 'return false' [Has-patch]

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Feb 15 16:43:24 UTC 2010


#1959: No-ajax search should 'return' not 'return false' [Has-patch]
---------------------+------------------------------------------------------
Reporter:  rvenable  |       Owner:     
    Type:  defect    |      Status:  new
Priority:  minor     |   Milestone:  1.2
Keywords:            |  
---------------------+------------------------------------------------------
 In global.js:
 {{{
 j('div.dir-search').click( function(event) {
                 if ( j(this).hasClass('no-ajax') )
                         return false;
 }}}
 Return false doesn't allow the search to function as normal even though it
 has the no-ajax class. I think just a simple return would be better.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1959>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list