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)
Tue, Jul 1, 10:12 PM
Unknown Object (File)
Tue, Jul 1, 10:35 AM
Unknown Object (File)
May 28 2025, 1:52 AM
Unknown Object (File)
May 28 2025, 1:16 AM
Unknown Object (File)
May 27 2025, 8:57 PM
Unknown Object (File)
May 26 2025, 10:30 PM
Unknown Object (File)
May 9 2025, 10:55 AM
Unknown Object (File)
Apr 21 2025, 12:18 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.