Page MenuHomePhabricator

Don't try to activate disabled items in dropdown menus
ClosedPublic

Authored by epriestley on Oct 14 2013, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 1, 11:07 PM
Unknown Object (File)
Thu, Dec 26, 5:15 PM
Unknown Object (File)
Dec 13 2024, 7:43 AM
Unknown Object (File)
Dec 12 2024, 9:21 AM
Unknown Object (File)
Dec 10 2024, 5:12 PM
Unknown Object (File)
Nov 26 2024, 12:21 AM
Unknown Object (File)
Nov 17 2024, 6:03 PM
Unknown Object (File)
Nov 17 2024, 2:17 AM
Subscribers

Details

Summary

Fixes an issue where the user could click a disabled dropdown menu item and get an exception or some other nonsense. Instead, just don't activate anything.

Test Plan

Clicked a disabled header, like "Members of project" in the policy dropdown.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Although I'm sure your review was exceptionally through, I'll wait for @btrahan to take a look too.