[buddypress-trac] [BuddyPress] #2002: When deleting activity in permalink view page should redirect back to stream

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue May 3 07:55:48 UTC 2011


#2002: When deleting activity in permalink view page should redirect back to
stream
--------------------------+-------------------------------------
  Reporter:  modemlooper  |      Owner:  cnorris23
      Type:  defect       |     Status:  assigned
  Priority:  major        |  Milestone:  1.3
 Component:  Activity     |    Version:
Resolution:               |   Keywords:  has-patch needs-testing
--------------------------+-------------------------------------

Comment (by cnorris23):

 As Boone suggested (comment:10) we could just avoid the ajax altogether
 and let the redirect happen in php only. We don't really need the ajax
 delete on a single activity page anyway. Paul, I've updated your updated
 patch ;) to include an easy fix. Not great on back-compat, but the impact
 should be minimal. Since, jquery is listening for clicks with the 'delete-
 activity', we can just set things to 'delete-activity-single' to avoid the
 click event. A little hackish maybe, but it doesn't cause any
 design/layout issues in bp-default.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2002#comment:21>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list