[buddypress-trac] [BuddyPress] #4969: Using Jquery .live() insteed .click()

buddypress-trac noreply at wordpress.org
Wed May 1 02:31:23 UTC 2013


#4969: Using Jquery  .live() insteed .click()
-------------------------+---------------------
 Reporter:  megainfo     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  1.8
Component:  Theme        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------
Changes (by boonebgorges):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => fixed
 * milestone:  Awaiting Review => 1.8


Comment:

 So far as I can tell, the other instances you mention (1013, 1058) are for
 buttons/links that are never added by AJAX to the page, at least not in
 the context of bp-legacy. I don't think we need to go to the trouble of
 doing true event delegation for those items, as it would require changing
 some of the logic of the JS. For this reason, I'm going to mark this
 ticket as fixed. If you find more instances where we *need* to use
 delegation, please feel free to reopen this ticket with details, or open a
 new ticket. Thanks!

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


More information about the buddypress-trac mailing list