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
F15343928: D7293.id16448.diff
Mon, Mar 10, 1:59 AM
F15296020: D7293.diff
Wed, Mar 5, 11:20 AM
Unknown Object (File)
Feb 1 2025, 4:02 PM
Unknown Object (File)
Jan 27 2025, 3:56 PM
Unknown Object (File)
Jan 18 2025, 8:43 AM
Unknown Object (File)
Jan 1 2025, 11:07 PM
Unknown Object (File)
Dec 26 2024, 5:15 PM
Unknown Object (File)
Dec 13 2024, 7:43 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.