[buddypress-trac] [BuddyPress Trac] #6116: Message ajax search not working
buddypress-trac
noreply at wordpress.org
Tue Jan 13 05:49:56 UTC 2015
#6116: Message ajax search not working
-----------------------------------+------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.2
Component: Messaging | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------
Comment (by r-a-y):
r9240 broke this to address #6010.
For the patch, I would suggest `jq('#messages_search').val()` instead of
`target.parent().children('input[type="text"]').val()`.
Selector by ID is a faster search than traversing through the DOM.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6116#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list