Project

General

Profile

Actions

Defect #28482

closed

Buttons are disabled when modal is opened again after exporting CSV

Added by Mizuki ISHIKAWA over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Steps to reproduce:
  1. Open issues/index.
  2. Click on the "CSV" link to open modal.
  3. Click the export button to export csv.
  4. After exporting csv, click “CSV" link again to open modal.

Expected result:
By export button, you can export csv again.

Result:
CSV can not be exported because export button and cancel button are disabled.

This is a problem only occurring with the trunk .
I think that the cause of this problem is that disable_with option of submit_tag of rails5 is the default.
( https://github.com/rails/rails/pull/21135 )

disable_with is an option to disable the submit button to prevent duplicate transmission.
The export button and cancel button are disabled at the moment of clicking because disable_with is true.
But that buttons do not reload the screen so the buttons will remain disabled.

I have not confirmed, but there may be other buttons that are in the same state.


Files


Related issues

Related to Redmine - Feature #23630: Migrate to Rails 5.2ClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF