Making WordPress.org

Opened 8 years ago

Closed 6 years ago

#1964 closed enhancement (fixed)

Forum Submit Button needs Ajax Love to show 'something' is happening.

Reported by: ipstenu's profile Ipstenu Owned by: netweb's profile netweb
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch
Cc:

Description

Right now there's a lag when you click 'Submit' on a reply or a post, which is causing people to double-submit more than normal. There should be some sort of animation or action that will indicate "Yo! Don't double click!"

Attachments (1)

1964.patch (1.3 KB) - added by Clorith 6 years ago.

Download all attachments as: .zip

Change History (9)

#1 follow-up: @SergeyBiryukov
8 years ago

The form should also actually prevent duplicate posts, like WordPress core does:

Duplicate comment detected; it looks as though you've already said that!

#2 in reply to: ↑ 1 ; follow-up: @netweb
8 years ago

Replying to SergeyBiryukov:

The form should also actually prevent duplicate posts, like WordPress core does:

Duplicate comment detected; it looks as though you've already said that!

bbPress should already handle cases of this with a topic or reply message like so:

ERROR: Duplicate reply detected; it looks as though you've already said that!

#3 in reply to: ↑ 2 ; follow-up: @SergeyBiryukov
8 years ago

Replying to netweb:

bbPress should already handle cases of this with a topic or reply message like so:

ERROR: Duplicate reply detected; it looks as though you've already said that!

Hmm, it didn't catch my duplicate reply here:
https://ru.wordpress.org/support/topic/администрации-поменялся-функцонал-ru-wordpre/?view=all

This ticket was mentioned in Slack in #forums by sergey. View the logs.


8 years ago

This ticket was mentioned in Slack in #forums by clorith. View the logs.


7 years ago

@Clorith
6 years ago

#7 @Clorith
6 years ago

  • Keywords has-patch added

Every now and then, some DB lag makes the bbPress checks not run reliably and we do get duplicates.

It's not often, but occasionally it happens, 1964.patch disabled the submit button on form submission, this prevents clicking it again if things are going slow, and is more indicative to the user that their actions are being processed.

#8 @netweb
6 years ago

  • Owner set to netweb
  • Resolution set to fixed
  • Status changed from new to closed

In 7519:

Support Theme: Disable the submit button on form submission

Props Clorith.
Fixes #1964.

Note: See TracTickets for help on using tickets.