Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #5423, comment 3


Ignore:
Timestamp:
02/26/2014 01:29:48 AM (8 years ago)
Author:
dcavins
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5423, comment 3

    initial v1  
    1111Solved "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.)
    1212
    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.
     13In 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.)