[buddypress-trac] [BuddyPress] #2141: Forum Topic delete button warning before deletion

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 11 18:31:23 UTC 2010


#2141: Forum Topic delete button warning before deletion
---------------------+------------------------------------------------------
  Reporter:  snark   |       Owner:                          
      Type:  defect  |      Status:  closed                  
  Priority:  major   |   Milestone:  1.2.2                   
Resolution:  fixed   |    Keywords:  needs-patch dev-feedback
---------------------+------------------------------------------------------

Comment(by cnorris23):

 @snark
 I'm very much aware of that your ticket was about deleting a "FORUM"
 topic. The message was not for you -- hence the lack of @snark, or a
 reporter-feedback tag -- it was for the developers, to speed up the
 process of closing the ticket. In order for the "Are you sure?" message to
 appear, a particular line of javascript needs to show up on the page, in
 the HTML code. This is the case for every instance an "Are you sure?"
 message should appear. However, there was a line of code in the code
 posted above, this line to be specific,

 {{{
         if ( $current_blog->blog_id != BP_ROOT_BLOG )
                 return false;
 }}}

 that only allowed the javascript to be shown on one very particular blog.
 That's what "re:blogs" was about.

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


More information about the buddypress-trac mailing list