Information Required NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar shim-sao
shim-sao
19 Sep 2020

Pull Request for Issue # .

Summary of Changes

Avoid multiple call to a task (to the server) when clicking multiple time on a button.

Testing Instructions

Create an article
Try to save it by double-clicking on the Save button

Actual result BEFORE applying this Pull Request

Multiple call to the server to save the article.
An error is returned, the article already exists
A new article is created.

Expected result AFTER applying this Pull Request

The task is disabled after the first click.
The article is saved with no additionnal error

Should be the same process for other task

Documentation Changes Required

The javascript file must be updated
Compilation : npm run build:js

avatar shim-sao shim-sao - open - 19 Sep 2020
avatar shim-sao shim-sao - change - 19 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Sep 2020
Category JavaScript Repository NPM Change
avatar shim-sao shim-sao - change - 20 Sep 2020
Labels Added: NPM Resource Changed ?
avatar ceford
ceford - comment - 18 Nov 2020

I can't reproduce this problem without the patch. Is it browser dependent? I have tried quick double clicks and slow double clicks.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30695.

avatar shim-sao
shim-sao - comment - 19 Nov 2020

I think something has changed (J4 or browser update), I cannot reproduce it in the J4Beta5.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30695.

avatar shim-sao shim-sao - change - 19 Nov 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-11-19 22:59:31
Closed_By shim-sao
Labels Added: Information Required
avatar shim-sao shim-sao - close - 19 Nov 2020

Add a Comment

Login with GitHub to post a comment