[buddypress-trac] [BuddyPress Trac] #6048: JS bug in "delete selected privated messages" (default_theme)

buddypress-trac noreply at wordpress.org
Wed Nov 26 20:49:32 UTC 2014


#6048: JS bug in "delete selected privated messages" (default_theme)
------------------------------------+-----------------------------
 Reporter:  handbike                |      Owner:
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Theme / Template Parts  |    Version:  2.1
 Severity:  normal                  |   Keywords:
------------------------------------+-----------------------------
 There is a bug in the javscript for deleting the selected private messages
 in the default_theme:

 global.js line 1220 has wrong brackets:
 if ( -1 == jq.inArray( this.id ), Array( 'delete_sentbox_messages',
 'delete_inbox_messages' ) ) {

 BP-Legacy, buddypress.js line 1481 is correct:
 if ( -1 === jq.inArray( this.id, Array( 'delete_sentbox_messages',
 'delete_inbox_messages' ) ) ) {


 Cheers, Dirk

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


More information about the buddypress-trac mailing list