#4763 closed defect (bug) (fixed)
Group invitation screen : remove invite link leads to 404
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.7 | Priority: | normal |
Severity: | normal | Version: | 1.7 |
Component: | Groups | Keywords: | |
Cc: |
Description
I am very very sorry for the english that will follow !
I read this ticket : #4714 about the fact that the jQuery .live() method is deprecated.
My trouble is that when using the bp theme compat new feature with my theme, once i arrived at the last step of group creation, if i select a user to invite, then change my mind by clicking on the remove link for this friend, then the link is fired, and it leads to a 404. the url of the page is the one that is given by bp_legacy_theme_ajax_invite_user function at line 817 of buddypress_functions.php.
Now if i browse back and refresh the page and then click on the remove link, it's working. If i repeat the operation, i have the trouble again.
If i change the jQuery .on() method in buddypress.js at line 796 by the .live() one, then everything works..
(In [6791]) Fix jQuery action when removing a previously-selected friend from the Group Invites screen during group creation. Fixes #4763