Project

General

Profile

Actions

Bug #6390

closed

'Add/Remove Content-view' buttons under composite-view should be disabled when no CV is selected

Added by Walden Raines over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1095098
Description of problem:
UI shows 'Add Content-View' button to add selected CV to composite-view. But the button remains enabled, when there is no CV to add or even the listed CV is un-selected.

Similar behaviour with 'Remove Content View' button

Also, if you click on that button, without selecting any CV, UI raised a notification: Content-view updated.

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

How reproducible:
always

Steps to Reproduce:
1. create a composite-view
2. select 'content-view' tab
3. click on 'Add' tab
4. click on 'Add Content View' button
5. Now click on 'List/Remove' tab
6. click on 'Remove Content View button

Actual results:
1. The buttons (Add Content View and Remove Content View) remains enabled, when there is no CV to add or even the listed CV is un-selected. Also UI raised a notification: "Content View updated" on clicking those buttons

Expected results:
The buttons (Add Content View and Remove Content View) should be disabled, when there is no CV to add or even the listed CV is un-selected.

Additional info:

Actions

Also available in: Atom PDF