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

buddypress-trac noreply at wordpress.org
Tue Jan 22 22:51:37 UTC 2013


#4782: jQuery 1.9 has deprecated the methods "$.live()" and "$.browser()"
-----------------------+------------------------------
 Reporter:  Lwangaman  |       Owner:
     Type:  task       |      Status:  new
 Priority:  normal     |   Milestone:  Awaiting Review
Component:  Core       |     Version:  1.7
 Severity:  blocker    |  Resolution:
 Keywords:             |
-----------------------+------------------------------

Comment (by sbrajesh):

 this has been addressed in a previous ticket for BuddyPress 1.7 branch.
 Please have a look at this #4714

 Though, there may exist a bug for activity-read-more in the current code,
 as activity items are dynamically loaded for pagination and read more link
 will not work(the on should not be bound on dynamically inserted element).

 A better idea will be to bind it to activity div like

 jq('div.activity').on('click','.activity-read-more
 a',function(event){...});

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


More information about the buddypress-trac mailing list