Changes between Initial Version and Version 1 of Ticket #5423, comment 3
- Timestamp:
- 02/26/2014 01:29:48 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5423, comment 3
initial v1 11 11 Solved "javascript fails on AJAX-produced pages" problem from my earlier patch by moving a hidden input storing group_id out of the piece refreshed via an AJAX call. (The code created in wp_ajax couldn't produce the group ID, so it was getting lost, and it's needed for the invite/uninvite action.) 12 12 13 In buddypress.js, changed the target in the .on() function. It wasn't working when monitoring a div that was being recreated via AJAX. So it's now monitoring a parent div that remains in the DOM all the time. 13 In buddypress.js, changed the target in the .on() function. It wasn't working when monitoring a div that was being recreated via AJAX. So it's now monitoring a parent div that remains in the DOM all the time. (I'm sure "monitoring" is the wrong word. Event bubbling wasn't being picked up when the container div was replaced via AJAX.)