[buddypress-trac] [BuddyPress] #4782: jQuery 1.9 has deprecated the methods "$.live()" and "$.browser()"

buddypress-trac noreply at wordpress.org
Mon Nov 18 01:31:51 UTC 2013

#4782: jQuery 1.9 has deprecated the methods "$.live()" and "$.browser()"
 Reporter:  Lwangaman          |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Theme              |     Version:  1.8.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |

Comment (by burakali):

 As stated in the description of this ticket, when the 'activity-read-more'
 live('click;) call was corrected with on('click)... the targeted class
 stayed ".activity-read-more a" which is inside the dynamic area. It should
 be something like 'div.activity' or 'document'. See below:

 a',function(event){...});        --as sbrajesh stated above or
 jq('document').on('click','.activity-read-more a',function(event){...});

 The problem at the moment is when you change a tab or load more
 activity(which loads new content through ajaxcall), read-more link which
 is part of activity that is loaded dynamically doesnt fire the ajax call
 anymore and doesnt slide open. It redirects to the single activity page

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4782#comment:7>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list