Project

General

Profile

Actions

Bug #14529

closed

Disabled buttons in drop down menu do not render as disabled

Added by Lukas Zapletal almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It's because twitter only accepts "disabled" class on <li> items and we set it on <a> tags. We could refactor our select_action_button code but since tags are self-contained in Rails and we pass array of elements already htmlized, it's easier to do this via CSS:

.dropdown-menu > li > a.disabled {
  color:#aaa !important;
}

Related issues 1 (0 open1 closed)

Related to Discovery - Bug #14527: Edit buttons should not be visible to discovery_reader roleClosedLukas Zapletal04/07/2016Actions
Actions

Also available in: Atom PDF