[buddypress-trac] [BuddyPress Trac] #5438: Buddypress bulk message deletion not working.

buddypress-trac noreply at wordpress.org
Fri Feb 28 13:50:24 UTC 2014


#5438: Buddypress bulk message deletion not working.
------------------------------+-----------------------------
 Reporter:  Nishant_Official  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  high              |  Milestone:  Awaiting Review
Component:  Template Pack     |    Version:  1.9.1
 Severity:  major             |   Keywords:  needs-patch
------------------------------+-----------------------------
 Hello Community,

 I am developing an applicaiton using Buddypress 1.9.1 and WordPress 3.8.1.
 I am customizing BuddyPress with its template functionality. When testing
 message section, I was unable to bulk delete messages. The problem is
 already mentioned in thread - http://buddypress.org/support/topic/delete-
 selected-not-working/.

 I found the problem with file:
 \wp-content\plugins\buddypress\bp-templates\bp-legacy\js\buddypress.js @
 line 1242

 '''Problem was wrong calling of inArray() function.'''

 I changed the code from

 {{{
 if ( -1 == jq.inArray( this.id ), Array( 'delete_sentbox_messages',
 'delete_inbox_messages' ) )
 }}}


 to


 {{{
 if ( -1 == jq.inArray( this.id, Array( 'delete_sentbox_messages',
 'delete_inbox_messages' )))
 }}}


 Everything is working fine now.

 I hope I caught the right thing. If it was not please notify.

 Thanks for writting this code poem named BuddyPress.

 Nishant Kumar

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5438>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list