Project

General

Profile

Actions

Bug #27813

closed

Disabled buttons are still working

Added by Marek Hulán about 5 years ago. Updated about 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1745555

Description of problem:
Even if button is showed as disabled it is clickable and working normally as enabled. Applies to almost every disabled button in UI.

Version-Release number of selected component (if applicable):

How reproducible:
always

Steps to Reproduce:
For example
1. Go to Monitor -> Jobs
2. Select job, that already run.
3. Buttons 'Cancel Job' and 'Abort Job' are disabled
4. Click on any disabled button

Actual results:
Button works even if, it is disabled. Page is refreshed and warning 'The job cannot be cancelled at the moment.' is shown

Expected results:
Clicking on disabled button does nothing

Additional info:
Found similar behavior in hosts.
In Satellite 6.5 clicking on disabled button does nothing.


Related issues 2 (0 open2 closed)

Related to Foreman Remote Execution - Bug #27883: Do not use a[method=post] in jobs toolbarClosedOndřej EzrActions
Is duplicate of Foreman - Bug #27831: Disabled buttons are still workingClosedRon LaviActions
Actions #1

Updated by Tomer Brisker about 5 years ago

  • Is duplicate of Bug #27831: Disabled buttons are still working added
Actions #2

Updated by Tomer Brisker about 5 years ago

  • Subject changed from Disabled buttons are still working to Disabled buttons are still working
  • Status changed from New to Duplicate
Actions #3

Updated by Ondřej Ezr about 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7033 added
Actions #4

Updated by Ondřej Ezr about 5 years ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/7033)
Actions #5

Updated by Ondřej Ezr about 5 years ago

  • Related to Bug #27883: Do not use a[method=post] in jobs toolbar added
Actions

Also available in: Atom PDF