Opened 15 years ago
Closed 15 years ago
#1042 closed defect (bug) (fixed)
Directory letter filter ajax calls use blind/brute force selectors.
Reported by: | MrMaz | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | ajax, directories, directory, jQuery, tested, has-patch | |
Cc: | Jason_JM |
Description
When clicking on a letter filter in any of the three directories (members, groups, blogs) an Ajax call is fired for all three directory filter actions instead of just the action for the current directory.
The attached patch corrects the problem by prefixing the ul#letter-list element jQuery look up with a parent div (which already existed) that will make each call unique to a directory page.
Attachments (1)
Change History (3)
#1
@
15 years ago
- Cc Jason_JM added
- Keywords ajax directories directory jQuery tested has-patch added
- Milestone set to 1.1
- Summary changed from Patch to fix directory letter filters ajax calls to Directory letter filter ajax calls use blind/brute force selectors.
Tested, it seems to work for me. However, I am in the middle of a theme re-build.
Note: See
TracTickets for help on using
tickets.
patch for bp-themes/bp-sn-parent/_inc/js/ajax.js