[buddypress-trac] [BuddyPress Trac] #7718: Clicking message Reply button multiple times produces duplicate messages

buddypress-trac noreply at wordpress.org
Tue Mar 27 22:40:46 UTC 2018


#7718: Clicking message Reply button multiple times produces duplicate messages
--------------------------+------------------------------
 Reporter:  jdgrimes      |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Messages      |     Version:  2.9.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by r-a-y):

 * owner:  (none) => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11911" 11911]:
 {{{
 #!CommitTicketReference repository="" revision="11911"
 bp-legacy: Disable "Send Reply" button onclick when replying to a private
 message thread via AJAX.

 Previously, it was possible for a user to click on the "Send Reply" button
 multiple times, causing the same reply to be duplicated several times
 over.

 This commit addreses this by disabling the "Send Reply" button when it is
 clicked and re-enables it after the AJAX request is completed.

 Props jdgrimes.

 Fixes #7718.
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7718#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list