Project

General

Profile

Actions

Bug #27831

closed

Disabled buttons are still working

Added by Ron Lavi about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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 4 (0 open4 closed)

Related to Foreman - Refactor #26198: ensure host list does not trigger a full page reloadClosedOhad LevyActions
Related to Foreman - Bug #27881: Disabled buttons fetched by ajax are still workingClosedOndřej EzrActions
Related to Foreman Remote Execution - Bug #27883: Do not use a[method=post] in jobs toolbarClosedOndřej EzrActions
Has duplicate Foreman Remote Execution - Bug #27813: Disabled buttons are still workingDuplicateActions
Actions

Also available in: Atom PDF